DOKK / manpages / debian 12 / libmotif-dev / XmRemoveProtocolCallback.3.en
XmRemoveProtocolCallback(3) Library Functions Manual XmRemoveProtocolCallback(3)

XmRemoveProtocolCallback — A VendorShell function that removes a callback from the internal list "XmRemoveProtocol\%Callback" "VendorShell functions" "XmRemoveProtocol\%Callback" "protocols"

#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmRemoveProtocolCallback(
Widget shell,
Atom property,
Atom protocol,
XtCallbackProc callback,
XtPointer closure);

XmRemoveProtocolCallback removes a callback from the internal list.

XmRemoveWMProtocolCallback is a convenience interface. It calls XmRemoveProtocolCallback 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 property
Specifies the protocol atom
Specifies the procedure to call when a protocol message is received
Specifies the client data to be passed to the callback when it is invoked

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

VendorShell(3), XmAddProtocolCallback(3), XmInternAtom(3), and XmRemoveWMProtocolCallback(3).