1XtCallCallbacks(3)               XT FUNCTIONS               XtCallCallbacks(3)
2
3
4

NAME

6       XtCallCallbacks, XtCallCallbackList, XtHasCallbacks - process callbacks
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       void XtCallCallbacks(Widget w, const char *callback_name, XtPointer
12              call_data);
13
14       void XtCallCallbackList(Widget w, XtCallbackList callbacks, XtPointer
15              call_data);
16
17       typedef enum {XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome}
18       XtCallbackStatus;
19
20       XtCallbackStatus XtHasCallbacks(Widget w, const char *callback_name);
21

ARGUMENTS

23       callback_name
24                 Specifies the callback list to be executed or checked.
25
26       call_data Specifies a callback-list specific data value to pass to each
27                 of the callback procedure in the list.
28
29       callbacks Specifies the callback list to be executed.
30
31       w         Specifies the widget.
32

DESCRIPTION

34       The XtCallCallbacks function calls each procedure that is registered in
35       the specified widget's callback list.
36
37       If callbacks is not NULL, XtCallCallbackList calls each of the callback
38       procedures in the list, passing client data and call_data. The call‐
39       backs parameter must specify the contents of a widget or object re‐
40       source declared with representation type XtRCallback.
41
42       The XtHasCallbacks function first checks to see if the widget has a
43       callback list identified by callback_name.  If the callback list does
44       not exist, XtHasCallbacks returns XtCallbackNoList.  If the callback
45       list exists but is empty, it returns XtCallbackHasNone.  If the call‐
46       back list exists and has at least one callback registered, it returns
47       XtCallbackHasSome.
48

SEE ALSO

50       XtAddCallback(3)
51       X Toolkit Intrinsics - C Language Interface
52       Xlib - C Language X Interface
53
54
55
56X Version 11                      libXt 1.2.1               XtCallCallbacks(3)
Impressum