XtRemoveCallback() XtRemoveCallback()
Name
XtRemoveCallback - remove a callback from a callback list.
Synopsis
void XtRemoveCallback(object, callback_name, callback, client_data)
Widget object;
String callback_name;
XtCallbackProc callback;
XtPointer client_data;
Inputs
object Specifies the object; may be of class Object or any subclass thereof.
callback_name
Specifies the name of the callback list from which the callback is to be removed.
callback Specifies the callback procedure which is to be removed.
client_data
Specifies the data which was registered with the specified procedure.
Description
XtRemoveCallback() removes the callback/client_data pair from the callback list named by callback_name of the object object. If there is
no entry in the specified callback list that matches both callback and client_data, XtRemoveCallback() returns without generating a warning
message.
Usage
Note that there is no way to remove all calls to a specified procedure from a callback list. To remove a procedure from a callback list,
you must specify the client_data it was registered with.
If you want to remove several procedure/data pairs from a callback list at the same time, use XtRemoveCallbacks().
See Also
XtAddCallback(1), XtAddCallbacks(1), XtCallCallbacks(1), XtRemoveAllCallbacks(1), XtRemoveCallbacks(1).
Xt - Callbacks XtRemoveCallback()