1XmAddProtocols(library call) XmAddProtocols(library call)
2
3
4
6 XmAddProtocols — A VendorShell function that adds the protocols to the
7 protocol manager and allocates the internal tables
8
10 #include <Xm/Protocols.h>
11 void XmAddProtocols(
12 Widget shell,
13 Atom property,
14 Atom *protocols,
15 Cardinal num_protocols);
16
18 XmAddProtocols adds the protocols to the protocol manager and allocates
19 the internal tables.
20
21 XmAddWMProtocols is a convenience interface. It calls XmAddProtocols
22 with the property value set to the atom returned by interning WM_PROTO‐
23 COLS.
24
25 shell Specifies the widget with which the protocol property is
26 associated
27
28 property Specifies the protocol property
29
30 protocols Specifies the protocol Atoms
31
32 num_protocols
33 Specifies the number of elements in protocols
34
35 For a complete definition of VendorShell and its associated resources,
36 see VendorShell(3).
37
39 VendorShell(3), XmAddWMProtocols(3), XmInternAtom(3), and XmRemovePro‐
40 tocols(3).
41
42
43
44 XmAddProtocols(library call)