XtRemoveAllCallbacks()XtRemoveAllCallbacks()NameXtRemoveAllCallbacks - delete all procedures from a callback list.
Synopsis
void XtRemoveAllCallbacks(object, callback_name)
Widget object;
String callback_name;
Inputs
object Specifies the object whose callbacks are to be deleted; may
be of class Object or any subclass thereof.
callback_name
Specifies the name of the callback list from which proce‐
dures are to be removed.
DescriptionXtRemoveAllCallbacks() removes all callback procedures registered on
the callback list named by callback_name in the object object. It also
frees all memory allocated by the Intrinsics for that callback list.
Usage
This is a dangerous function to call, because callbacks that you are
unaware of may have been registered on any list of your object. Simply
creating a widget may cause special resource converter destructor pro‐
cedures to be registered on the widget's destroy callback, for example.
If you use a convenience routine that creates both a dialog shell and
the dialog child widget, as a further example, that convenience routine
may register a destroy callback on the child so that the shell will be
automatically destroyed if the child is destroyed.
In general, you should use XtRemoveCallback() to remove specified pro‐
cedure/data pairs that you have registered on a list. You can also use
XtRemoveCallbacks() to remove an array of procedure/data pairs.
See AlsoXtAddCallback(1), XtAddCallbacks(1), XtCallCallbacks(1), XtRemoveCall‐
back(1), XtRemoveCallbacks(1).
Xt - Callbacks XtRemoveAllCallbacks()