The "SimpleSlider" Widget

This widget provides a simple slider control.

Library: karmawidets
Link With: -lkarmawidgets

Tables

SimpleSlider_ResourceNamesList of resource names for SimpleSlider widget
SimpleSlider_ResourcesList of resources for SimpleSlider widget


Tables


SimpleSlider_ResourceNames

Name Purpose
XkwNvalueChangeCallback Callbacks when the value changes
XtNlabel The label
XkwNminimum The minimum value
XkwNmaximum The maximum value
XkwNwrap If TRUE the values wrap around
XtNvalue The current value
XkwNvaluePtr A pointer to a value which is automatically changed
XkwNscaledValuePtr A pointer to a scaled value (also updated)
XkwNmodifier The minimum increment/decrement
XtNorientation The orientation
XkwNshowRange If TRUE show the range of values
XkwNshowValue If TRUE show the current value
XkwNvalueBesideLabel If TRUE show the value beside the label
XkwNscaledFormat Format string for scaled data
XkwNscaledUnit Units string for scaled data
XkwNcallbackOnDrag If TRUE callbacks are called on drag
XtNdecay The timer decay
XtNinitialDelay The initial timer delay
XtNminimumDelay The minimum timer delay
XtNrepeatDelay The repeat delay


SimpleSlider_Resources

Name Class Rep. Type Default
XkwNvalueChangeCallback XtCCallback XtRCallback NULL
XtNlabel XtCLabel XtRString NULL
XkwNminimum XkwCMinimum XtRInt 0
XkwNmaximum XkwCMaximum XtRInt 0
XkwNwrap XkwCWrap XtRBool False
XtNvalue XtCValue XtRInt 0
XkwNvaluePtr XkwCValuePtr XtRPointer NULL
XkwNscaledValuePtr XkwCValuePtr XtRPointer NULL
XkwNmodifier XkwCModifier XtRInt 0
XtNorientation XtCOrientation XtROrientation XtorientHorizontal
XkwNshowRange XkwCShowRange XtRBool False
XkwNshowValue XkwCShowValue XtRBool True
XkwNvalueBesideLabel XkwCValueBesideLabel XtRBool True
XkwNscaledFormat XkwCScaledFormat XtRString "%.3e"
XkwNscaledUnit XkwCScaledUnit XtRString ""
XkwNcallbackOnDrag XkwCCallbackOnDrag XtRBool True
XtNdecay XtCDecay XtRInt SSW_DEF_DECAY
XtNinitialDelay XtCDelay XtRInt SSW_DEF_INITIAL_DELAY
XtNminimumDelay XtCMinimumDelay XtRInt SSW_DEF_MINIMUM_DELAY
XtNrepeatDelay XtCDelay XtRInt SSW_DEF_REPEAT_DELAY


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services