Previous Next Up Title Contents Index Top Library

17.3. CALLBACKS

XmNmArrowActivateCallback

This callback is called by activating one of the arrows or the push button.

The structure returned is :

typedef struct {

int wsid;

int viewNumber;

int arrow;

union {

XmArrowButtonCallbackStruct *ArrowCb;

XmPushButtonCallbackStruct *ButtonCb;

} UnionCallbackStr;

} XmMArrowCallabckStruct;

The arrow resource specifies which arrow is involved (or button).

Possible values are :

XmCR_ARROW_UP

XmCR_ARROW_DOWN

XmCR_ARROW_RIGHT

XmCR_ARROW_LEFT

XmCR_ARROW_BUTTON

The UnionCallbackStr fields contain the respective callback values (Arrow or Push button).

See demonstration program ArrowW.c.


Previous Next Up Title Contents Index Top Library