The callback structure follows and is described in Table 7-2.
typedef struct {
int reason;
XEvent *event;
} XmAnyCallbackStruct;
Table 7-2 DtMenuButtonWidget Callback Structures|
Structure |
Description |
|---|---|
|
reason |
Returns reason why the callback was invoked. |
|
event |
Points to the XEvent that triggered the callback or NULL if the callback was not triggered by an XEvent. |