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

NAME

6       XtAppAddBlockHook, XtRemoveBlockHook - register a block hook procedure
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       XtBlockHookId XtAppAddBlockHook(XtAppContext app_context, XtBlock‐
12              HookProc proc, XtPointer client_data);
13
14       void XtRemoveBlockHook(XtBlockHookId id);
15

ARGUMENTS

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

DESCRIPTION

26       XtAppAddBlockHook registers the specified procedure and returns an
27       identifier for it.  The hook is called at any time in the future when
28       the Intrinsics are about to block pending some input.
29
30       Block hook procedures are removed automatically and the XtBlockHookId
31       is destroyed when the application context in which they were added is
32       destroyed.
33
34       XtRemoveBlockHook removes the specified block hook procedure from the
35       list in which it was registered.
36

SEE ALSO

38       X Toolkit Intrinsics - C Language Interface
39       Xlib - C Language X Interface
40
41
42
43X Version 11                     libXt 1.1.5.1            XtAppAddBlockHook(3)
Impressum