Previous Next Up Title Contents Index Top Library

15.3. CALLBACKS

XmNvaluatorCallback

Callback called during the cursor movement

XmNvaluatorGCallback

Callback called in continuous mode during the cursor movement

The structure returned by these callbacks is :

typdef struct {

int valuator_number;

int valuator_reason;

XEvent *event;

float valuator_value;

int wsid;

} XmValuatorCallbackStruct;

XmValuatorGetChild : A function that accesses to a component of valuator widget

void XmValuatorGetChild (Widget w, unsigned char c, int order )

w valuator widget

c component:

XmVALUATOR_TOGGLE

XmVALUATOR_TEXT

XmVALUATOR_SCALE

XmVALUATOR_COMMENT

XmVALUATOR_MODE

order number of valuator in widget


Previous Next Up Title Contents Index Top Library