1XmSetProtocolHooks(library call)              XmSetProtocolHooks(library call)
2
3
4

NAME

6       XmSetProtocolHooks  — A VendorShell function that allows preactions and
7       postactions to be executed when a protocol message is received from MWM
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       #include <Xm/Protocols.h>
12       void XmSetProtocolHooks(
13       Widget shell,
14       Atom property,
15       Atom protocol,
16       XtCallbackProc prehook,
17       XtPointer pre_closure,
18       XtCallbackProc posthook,
19       XtPointer post_closure);
20

DESCRIPTION

22       XmSetProtocolHooks is used by shells that want to have  preactions  and
23       postactions  executed  when  a  protocol  message is received from MWM.
24       Since there is no guaranteed ordering in execution of event handlers or
25       callback lists, this allows the shell to control the flow while leaving
26       the protocol manager structures opaque.
27
28       XmSetWMProtocolHooks is a convenience interface.  It calls  XmSetProto‐
29       colHooks  with the property value set to the atom returned by interning
30       WM_PROTOCOLS.
31
32       shell     Specifies the widget with  which  the  protocol  property  is
33                 associated
34
35       property  Specifies the protocol property
36
37       protocol  Specifies the protocol atom
38
39       prehook   Specifies the procedure to call before calling entries on the
40                 client callback list
41
42       pre_closure
43                 Specifies the client data to be passed to the prehook when it
44                 is invoked
45
46       posthook  Specifies  the procedure to call after calling entries on the
47                 client callback list
48
49       post_closure
50                 Specifies the client data to be passed to the  posthook  when
51                 it is invoked
52
53       For  a complete definition of VendorShell and its associated resources,
54       see VendorShell(3).
55
57       VendorShell(3), XmInternAtom(3), and XmSetWMProtocolHooks(3).
58
59
60
61                                              XmSetProtocolHooks(library call)
Impressum