1XtAddCallback(3x)                XT FUNCTIONS                XtAddCallback(3x)
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
35       client_data
36                 Specifies the argument that is to be passed to the specified
37                 procedure when it is invoked by XtCallbacks or NULL, or the
38                 client data to match on the registered callback procedures.
39
40       w         Specifies the widget.
41

DESCRIPTION

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

SEE ALSO

59       XtCallCallbacks(3Xt)
60       X Toolkit Intrinsics - C Language Interface
61       Xlib - C Language X Interface
62
63
64
65X Version 11                      libXt 1.0.4                XtAddCallback(3x)
Impressum