1XmAddWMProtocolCallback(library call) XmAddWMProtocolCallback(library call)
2
3
4
6 XmAddWMProtocolCallback — A VendorShell convenience interface that adds
7 client callbacks for a protocol
8
10 #include <Xm/Protocols.h>
11 void XmAddWMProtocolCallback(
12 Widget shell,
13 Atom protocol,
14 XtCallbackProc callback,
15 XtPointer closure);
16
18 XmAddWMProtocolCallback is a convenience interface. It calls XmAddPro‐
19 tocolCallback with the property value set to the atom returned by
20 interning WM_PROTOCOLS.
21
22 shell Specifies the widget with which the protocol property is
23 associated
24
25 protocol Specifies the protocol Atom
26
27 callback Specifies the procedure to call when a protocol message is
28 received
29
30 closure Specifies the client data to be passed to the callback when
31 it is invoked
32
33 For a complete definition of VendorShell and its associated resources,
34 see VendorShell(3).
35
37 VendorShell(3), XmAddProtocolCallback(3), XmInternAtom(3), and XmRe‐
38 moveWMProtocolCallback(3).
39
40
41
42 XmAddWMProtocolCallback(library call)