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

NAME

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

SYNTAX

10       XtActionHookId XtAppAddActionHook(XtAppContext app_context, XtAction‐
11              HookProc proc, XtPointer client_data);
12
13       void XtRemoveActionHook(XtActionHookId id);
14

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

40       X Toolkit Intrinsics - C Language Interface
41       Xlib - C Language X Interface
42
43
44
45X Version 11                      libXt 1.1.5            XtAppAddActionHook(3)
Impressum