XMIMGETXIM(3)
π XMIMGETXIM π
okay bestie, welcome to the XmImGetXIM page β it's a library call from the Motif input-manager girlies, and yes it lives in the manual under <lavender>XmImGetXIM(library call)</lavender> iykyk β¨
β¨ NAME β¨
XmImGetXIM β an input manager function that retrieves the input method associated with a specified widget π
πΈ SYNOPSIS πΈ
#include <Xm/XmIm.h>
XIM XmImGetXIM(
Widget widget);
π¦ DESCRIPTION π¦
so what does she do? XmImGetXIM retrieves the XIM data structure that represents the input method the input manager has opened for the widget you point at π
and here's the tea: if an input method has not been opened by a previous call to XmImRegister, then the first time this routine gets called, it opens an input method for you β using the XmNinputMethod resource for the VendorShell π
and if XmNinputMethod is NULL? no stress, she just opens an input method using the current locale π
and if she can't open an input method at all? π she returns NULL. that's it. that's the whole mood.
widgetβ specifies the ID of a widget registered with the input manager π«Ά
π RETURN π
she returns the input method for the current locale associated with the specified widget's input manager π
otherwise? NULL. simple as that.
β οΈ and listen β the application is responsible for freeing the returnedXIMby callingXmImCloseXIM. that's on you, not her. don't forget, bestie π
π RELATED π
the whole friend group fr fr π«Ά
and that's the page!! XmImGetXIM(library call) β that's literally the title and the footer both, iconic, no notes π β¨ go open an input method, main character πΈπ
π¦ 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