1XtAppAddBlockHook(3x)            XT FUNCTIONS            XtAppAddBlockHook(3x)
2
3
4

NAME

6       XtAppAddBlockHook, XtRemoveBlockHook - register a block hook procedure
7

SYNTAX

9       XtBlockHookId XtAppAddBlockHook(XtAppContext app_context, XtBlock‐
10              HookProc proc, XtPointer client_data);
11
12       void XtRemoveBlockHook(XtBlockHookId id);
13

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

36       X Toolkit Intrinsics - C Language Interface
37       Xlib - C Language X Interface
38
39
40
41X Version 11                      libXt 1.0.4            XtAppAddBlockHook(3x)
Impressum