XtCallCallbacks()XtCallCallbacks()Name
XtCallCallbacks - execute the procedures on a widget's named callback
list.
Synopsis
void XtCallCallbacks(object, callback_name, call_data)
Widget object;
String callback_name;
XtPointer call_data;
Inputs
object Specifies the object; may be of class Object or any subclass
thereof.
callback_name
Specifies the resource name of the callback list to be exe‐
cuted.
call_data Specifies the value to pass to each callback procedure as its
third argument.
DescriptionXtCallCallbacks() calls the procedures registered on the callback list
named by callback_name on the widget or object object. It invokes each
procedure with object as the first argument, the data registered with
each procedure as the second argument, and call_data as the third argu‐
ment.
UsageXtCallCallbacks() should only be called by widgets and objects; appli‐
cations will never need to call it.
XtCallCallbackList() calls the procedures on a callback list specified
directly as an XtCallbackList. This is generally a little faster
because it does not have to look up the callback list by name.
The call_data argument is untyped value. The caller must be sure to
pass correctly initialized data of the type expected by callbacks reg‐
istered on the specified callback list. This type may be an int, or
some other type that fits in 32 bits, but is often a pointer to a
structure.
See AlsoXtAddCallback(1), XtCallCallbackList(1).
Xt - Callbacks XtCallCallbacks()