XMREMOVEPROTOCOLCALLBACK(3)
π XmRemoveProtocolCallback π
okay bestie, so this one is a library call from the Xm crew, and it's the un-invite button for protocol callbacks. yes, the removal one. the "we don't do that anymore" one. she's giving cleanup crew energy and honestly? iconic of her. π§Ήβ¨
β¨ NAME β¨
XmRemoveProtocolCallback β a VendorShell</u> function that removes a callback from the internal list
no cap, that's the whole job description. she removes. she doesn't add. don't ask her to add. π
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmRemoveProtocolCallback(
Widget shell,
Atom property,
Atom protocol,
XtCallbackProc callback,
XtPointer closure);
the way she returns void... truly unbothered, gives nothing back, just does the thing. main character behavior fr fr. π
π¦ DESCRIPTION π¦
XmRemoveProtocolCallback removes a callback from the internal list. that's it. that's the sentence. short, sweet, and absolutely loaded. π
XmRemoveWMProtocolCallback is a convenience interface. she's the girl who handles it for you β she calls XmRemoveProtocolCallback with the property value set to the atom returned by interning WM_PROTOCOLS. so like, one less atom for you to babysit. you're welcome. π«Ά
now let's meet the parameters, because they ALL matter, no skipping bestie:
shellβ specifies the widget with which the protocol property is associated πpropertyβ specifies the protocol propertyprotocolβ 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 π
ngl, yes βcallbackandclosureare still described as what gets called when a protocol message is received, even though this function is the one doing the removing. they're the identity of the thing you're pulling out of the list. like, you gotta name her to un-invite her. π
and for a complete definition of VendorShell and its associated resources, see VendorShell(3). go look, she's thorough. π
π RELATED π
the little friend group!! one adds, one removes, one interns the atom, one is the convenience queen. all slaying in their own lanes. β
the vibe check: if you came here looking for something to add a callback, you're in the wrong manpage bestie, that's the Add one, go find her. this page only takes away. and she's very good at it. π
kisses, and remember to clean up your protocol callbacks β π this has been the XmRemoveProtocolCallback page, filed under library call in the Xm manual, and the footer is literally just her name again in the library call section, because manpages love a dramatic reprise. β¨ππ¦πΈπ«Ά
π¦ 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