XMREMOVEWMPROTOCOLCALLBACK(3)
π XmRemoveWMProtocolCallback π
okay so bestie, welcome to the library call section of the manual β yes the title up top got chopped to XmRemoveWMP...colCallback because apparently manpage headers have no chill, but the full name is right here and it's iconic π
β¨ NAME β¨
XmRemoveWMProtocolCallback β a VendorShell convenience interface that removes a callback from the internal list π«Ά
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmRemoveWMProtocolCallback(
Widget shell,
Atom protocol,
XtCallbackProc callback,
XtPointer closure);
like, literally just two includes and one function call, we love a low-effort slay π
π¦ DESCRIPTION π¦
XmRemoveWMProtocolCallback is a convenience interface. no cap. what it actually does is call XmRemoveProtocolCallback, except with the property value set to the atom you get back from interning WM_PROTOCOLS πͺ so it's the glow-up version where you don't have to do that part yourself, periodt.
here's the tea on the arguments, one by one:
shellβ specifies the widget with which the protocol property is associated πprotocolβ specifies the protocol atom βοΈcallbackβ specifies the procedure to call when a protocol message is received πclosureβ specifies the client data to be passed to the callback when it is invoked π
and for a complete definition of VendorShell and its associated resources, go peek at VendorShell(3) β it's giving main character reference material π
π RELATED π
the whole friend group fr fr:
ngl this one's short and sweet, but don't skip it β if you're adding protocol callbacks you're gonna need the un-add version eventually, iykyk π
and that's the whole page babes β¨ it lives in the library call manual, filed under XmRemoveWMP...colCallback (truncated by the formatter, not by me, I would never π). stay hydrated, read your VendorShell(3), and go remove some callbacks responsibly ππ
π¦ 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