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

NAME

6       XtAppAddActionHook, XtRemoveActionHook - register an action hook proce‐
7       dure
8

SYNTAX

10       #include <X11/Intrinsic.h>
11
12       XtActionHookId XtAppAddActionHook(XtAppContext app_context, XtAction‐
13              HookProc proc, XtPointer client_data);
14
15       void XtRemoveActionHook(XtActionHookId id);
16

ARGUMENTS

18       app_context
19                 Specifies the application context.
20
21       proc      Specifies the action hook procedure.
22
23       num_args  Specifies the application-specific data to be passed to the
24                 action hook.
25

DESCRIPTION

27       XtAppAddActionHook adds the specified procedure to the front of a list
28       maintained in the application context. In the future, when an action
29       routine is about to be invoked for any widget in this application con‐
30       text, either through the translation manager or via XtCallActionProc,
31       the action hohok procedures will be called in reverse order of regis‐
32       tration jut prior to invoking the action routine.
33
34       Action hook procedures are removed automatically and the XtActionHookId
35       s destroyed when the application context in which they were added is
36       destroyed.
37
38       XtRemoveActionHook removes the specified action hook procedure from the
39       list in which it was registered.
40

SEE ALSO

42       X Toolkit Intrinsics - C Language Interface
43       Xlib - C Language X Interface
44
45
46
47X Version 11                     libXt 1.1.5.1           XtAppAddActionHook(3)
Impressum