DOKK / manpages / debian 11 / libmotif-dev / XmActivateWMProtocol.3.en
XmActivateWMProtocol(3) Library Functions Manual XmActivateWMProtocol(3)

XmActivateWMProtocol — A VendorShell convenience interface that activates a protocol "XmActivateWMProtocol" "VendorShell functions" "XmActivateWMProtocol" "protocols"

#include <Xm/Protocols.h>
void XmActivateWMProtocol(
Widget shell,
Atom protocol);

XmActivateWMProtocol is a convenience interface. It calls XmActivateProtocol with the property value set to the atom returned by interning WM_PROTOCOLS.

Specifies the widget with which the protocol property is associated
Specifies the protocol Atom

For a complete definition of VendorShell and its associated resources, see VendorShell(3).

VendorShell(3), XmActivateProtocol(3), XmInternAtom(3), and XmRemoveWMProtocols(3).