XMSETWMPROTOCOLHOOKS(3)
β¨ NAME β¨
okay so bestie, this is XmSetWMProtocolHooks β and yes, it's a library call manual page. It's a VendorShell convenience interface that allows preactions and postactions to be executed when a protocol message is received from the window manager. no cap. π«Ά
πΈ SYNOPSIS πΈ
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmSetWMProtocolHooks(
Widget shell,
Atom protocol,
XtCallbackProc prehook,
XtPointer pre_closure,
XtCallbackProc posthook,
XtPointer post_closure);
π DESCRIPTION π
XmSetWMProtocolHooks is literally a convenience interface. It calls XmSetProtocolHooks with the property value set to the atom returned by interning WM_PROTOCOLS. periodt.
shellβ specifies the widget with which the protocol property is associated. main character widget energy, fr fr.protocolβ specifies the protocol atom (or anintcast toAtom). yes bestie, an int cast to Atom is a thing, iykyk.prehookβ specifies the procedure to call before calling entries on the client callback list.pre_closureβ specifies the client data to be passed to theprehookwhen it is invoked.posthookβ specifies the procedure to call after calling entries on the client callback list.post_closureβ specifies the client data to be passed to theposthookwhen it is invoked.
For a complete definition of VendorShell and its associated resources, see VendorShell(3). π
π¦ RELATED π¦
π XmSetWMProtocolHooks(library call) β that's the footer, bestie. source/version: the manual name; date: not listed. slay. π
π¦ 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