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

NAME

6       XtAddCallback, XtAddCallbacks, XtRemoveCallback, XtRemoveCallbacks,
7       XtRemoveAllCallbacks - add and remove callback procedures
8

SYNTAX

10       void XtAddCallback(Widget w, String callback_name, XtCallbackProc call‐
11              back, XtPointer client_data);
12
13       void XtAddCallbacks(Widget w, String callback_name, XtCallbackList
14              callbacks);
15
16       void XtRemoveCallback(Widget w, String callback_name, XtCallbackProc
17              callback, XtPointer client_data);
18
19       void XtRemoveCallbacks(Widget w, String callback_name, XtCallbackList
20              callbacks);
21
22       void XtRemoveAllCallbacks(Widget w, String callback_name,
23

ARGUMENTS

25       callback  Specifies the callback procedure.
26
27       callbacks Specifies the null-terminated list of callback procedures and
28                 corresponding client data.
29
30       callback_name
31                 Specifies the callback list to which the procedure is to be
32                 appended or deleted.
33
34       client_data
35                 Specifies the argument that is to be passed to the specified
36                 procedure when it is invoked by XtCallbacks or NULL, or the
37                 client data to match on the registered callback procedures.
38
39       w         Specifies the widget.
40

DESCRIPTION

42       The XtAddCallback function adds the specified callback procedure to the
43       specified widget's callback list.
44
45       The XtAddCallbacks add the specified list of callbacks to the specified
46       widget's callback list.
47
48       The XtRemoveCallback function removes a callback only if both the pro‐
49       cedure and the client data match.
50
51       The XtRemoveCallbacks function removes the specified callback proce‐
52       dures from the specified widget's callback list.
53
54       The XtRemoveAllCallbacks function removes all the callback procedures
55       from the specified widget's callback list.
56

SEE ALSO

58       XtCallCallbacks(3)
59       X Toolkit Intrinsics - C Language Interface
60       Xlib - C Language X Interface
61
62
63
64X Version 11                      libXt 1.1.5                 XtAddCallback(3)
Impressum