XMADDWMPROTOCOLS(3)
β¨ NAME β¨
XmAddWMProtocols β bestie, it's a VendorShell convenience interface that adds the protocols to the protocol manager and allocates the internal tables π
πΈ SYNOPSIS πΈ
#include <Xm/Protocols.h>
void XmAddWMProtocols(
Widget shell,
Atom *protocols,
Cardinal num_protocols);
π¦ DESCRIPTION π¦
Okay so XmAddWMProtocols is a convenience interface, right? Like, it's the shortcut friend who does the thing for you. It calls XmAddProtocols with the property value set to the atom returned by interning WM_PROTOCOLS. That's the whole vibe. No cap. β¨
Now the little cast of characters you're passing in:
shellβ the widget your protocol property is associated with. That's its whole job, it just hangs out holding the property π«Άprotocolsβ the protocol Atoms, plural, the whole squad πnum_protocolsβ how many elements are inprotocols. Yes bestie, you have to count them yourself, the function is not psychic π
For the full, complete, absolutely-everything definition ofVendorShelland all its associated resources, go readVendorShell(3). It's giving required reading, fr fr.
π RELATED π
The girlies in the same friend group, lowkey iconic:
VendorShell(3)XmAddProtocols(3)XmInternAtom(3)XmRemoveWMProtocols
Okay that's the whole page, bestie, you ate that π This lil gem lives in the library call manual, filed under XmAddWMProtocols β mwah, periodt ππ
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms