1XtAppAddBlockHook(3) XT FUNCTIONS XtAppAddBlockHook(3)
2
3
4
6 XtAppAddBlockHook, XtRemoveBlockHook - register a block hook procedure
7
9 XtBlockHookId XtAppAddBlockHook(XtAppContext app_context, XtBlock‐
10 HookProc proc, XtPointer client_data);
11
12 void XtRemoveBlockHook(XtBlockHookId id);
13
15 app_context
16 Specifies the application context.
17
18 proc Specifies the block hook procedure.
19
20 num_args Specifies the application-specific data to be passed to the
21 block hook.
22
24 XtAppAddBlockHook registers the specified procedure and returns an
25 identifier for it. The hook is called at any time in the future when
26 the Intrinsics are about to block pending some input.
27
28 Block hook procedures are removed automatically and the XtBlockHookId
29 is destroyed when the application context in which they were added is
30 destroyed.
31
32 XtRemoveBlockHook removes the specified block hook procedure from the
33 list in which it was registered.
34
36 X Toolkit Intrinsics - C Language Interface
37 Xlib - C Language X Interface
38
39
40
41X Version 11 libXt 1.1.4 XtAppAddBlockHook(3)