1XtCallCallbacks(3x) XT FUNCTIONS XtCallCallbacks(3x)
2
3
4
6 XtCallCallbacks, XtCallCallbackList, XtHasCallbacks - process callbacks
7
9 void XtCallCallbacks(Widget w, String callback_name, XtPointer
10 call_data);
11
12 void XtCallCallbackList(Widget w, XtCallbackList callbacks, XtPointer
13 call_data);
14
15 typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome}
16 XtCallbackStatus;
17
18 XtCallbackStatus XtHasCallbacks(Widget w, String callback_name);
19
21 callback_name
22 Specifies the callback list to be executed or checked.
23
24 call_data Specifies a callback-list specific data value to pass to each
25 of the callback procedure in the list.
26
27 callbacks Specifies the callback list to be executed.
28
29 w Specifies the widget.
30
32 The XtCallCallbacks function calls each procedure that is registered in
33 the specified widget's callback list.
34
35 If callbacks is not NULL, XtCallCallbackList calls each of the callback
36 procedures in the list, passing client data and call_data. The call‐
37 backs parameter must specify the contents of a widget or object
38 resource declared with representation type XtRCallback.
39
40 The XtHasCallbacks function first checks to see if the widget has a
41 callback list identified by callback_name. If the callback list does
42 not exist, XtHasCallbacks returns XtCallbackNoList. If the callback
43 list exists but is empty, it returns XtCallbackHasNone. If the call‐
44 back list exists and has at least one callback registered, it returns
45 XtCallbackHasSome.
46
48 XtAddCallback(3Xt)
49 X Toolkit Intrinsics - C Language Interface
50 Xlib - C Language X Interface
51
52
53
54X Version 11 libXt 1.0.4 XtCallCallbacks(3x)