XtAddCallbacks3
Add and remove callback procedures
Part of XtAddCallback(3).
Usage
void XtAddCallbacks(Widget
w,
const
char
*callback_name,
XtCallbackList
callbacks);
void XtRemoveCallbacks(Widget
w,
const
char
*callback_name,
XtCallbackList
callbacks);
void XtRemoveAllCallbacks(Widget
w,
const
char
*callback_name);
Arguments
- callback
-
Specifies the callback procedure.
- callbacks
-
Specifies the null-terminated list of callback procedures and corresponding client data.
- callback_name
-
Specifies the callback list to which the procedure is to be appended or deleted.
- client_data
-
Specifies the argument that is to be passed to the specified procedure when it is invoked by XtCallbacks or NULL, or the client data to match on the registered callback procedures.
- w
-
Specifies the widget.
Overview
The XtAddCallback function adds the specified callback procedure to the specified widget's callback list.
The XtAddCallbacks add the specified list of callbacks to the specified widget's callback list.
The XtRemoveCallback function removes a callback only if both the procedure and the client data match.
The XtRemoveCallbacks function removes the specified callback procedures from the specified widget's callback list.
The XtRemoveAllCallbacks function removes all the callback procedures from the specified widget's callback list.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie) to Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster) to Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)