XtAddCallback(3) | Library Functions Manual | XtAddCallback(3) |
void XtAddCallback(Widget w, const char *callback_name, XtCallbackProc callback, XtPointer client_data);
void XtAddCallbacks(Widget w, const char *callback_name, XtCallbackList callbacks);
void XtRemoveCallback(Widget w, const char *callback_name, XtCallbackProc callback, XtPointer client_data);
void XtRemoveCallbacks(Widget w, const char *callback_name, XtCallbackList callbacks);
void XtRemoveAllCallbacks(Widget w, const char *callback_name);
The XtAddCallbacks add the specified list of callbacks to the specified widget's callback list.
The XtRemoveCallback function removes a callback only if both the procedure and the client data match.
The XtRemoveCallbacks function removes the specified callback procedures from the specified widget's callback list.
The XtRemoveAllCallbacks function removes all the callback procedures from the specified widget's callback list.
X Version 11 | XT FUNCTIONS |