Next: The scale.c program Up: Scale Widgets Previous: Scale basics

Scale Callbacks

The Scale Callback can be called on to types of events:

- if the value is changed, or
- if the Scale value is moved at all, ``continuous'' values can be input. This may affect X performance.

The Scale Callback function is standard:

void scale_cbk(Widget w, XtPointer data, XmScaleCallbackStruct *struct)

The structure element value holds the current Scale integer value.
Tue May 24 16:52:56 BST 1994