XMIMFREEXIC(3)
β¨ XmImFreeXIC β the manual page, but make it cute π
ok so bestie, gather round, because we're talking about XmImFreeXIC, a library call from the Motif/Xm family. Yes it's a real function, yes it's in the Xm docs, and yes I'm gonna explain it like we're texting at 2am. π«Ά
πΈ NAME πΈ
XmImFreeXIC β an input manager function that unregisters widgets for an XIC
like. that's literally it. it unregisters stuff. it frees stuff. main character energy fr fr. π
π SYNOPSIS π
first you gotta include the header, no skipping:
#include <Xm/XmIm.h>
and then the function itself, exactly like this:
void XmImFreeXIC(
Widget widget,
XIC xic);
not me obsessing over how clean that is. β¨
π DESCRIPTION π
okay so here's the tea. XmImFreeXIC unregisters all widgets associated with the specified X Input Context (XIC). all of them. every single one. it's giving cleanup era. π§Ή
and there's a rule, bestie β the specified widget must be associated with the specified xic. like, they have to actually be linked. no fake relationships here. π
after unregistering the associated widgets, this call frees the xic. poof. gone. it's free real estate. π
now the arguments, because we love a good parameter breakdown:
widgetβ Specifies the ID of a widget used to identify theVendorShellandXmDisplaythat maintain the widget-XIC registry. lowkey it's the lil ID card that tells everyone which registry we're working with. πͺͺxicβ Specifies the Input Context associated with the widget. that's the one getting unregistered and then set free. π¦
π RELATED π
if you're in your XIC research arc (and honestly? valid), go read these next:
the trio really said "get, set, free" and honestly? iconic. β
and that's the whole page, bestie! this one comes straight out of the library call manual β same title, same name, same vibe, just with way more sparkle. no cap. πβ¨π
π¦ 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