XMIMMBRESETIC(3)
π XmImMbResetIC π
okay so bestie, welcome to the XmImMbResetIC page from the library call manual β yes it's a library call, and yes it's about to be your new fave little input-manager function π«Ά
β¨ NAME β¨
XmImMbResetIC β an input manager function that resets the input context for a widget. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <Xm/XmIm.h>
void XmImMbResetIC(
Widget widget,
char **mb);
π¦ DESCRIPTION π¦
okay so here's the tea β XmImMbResetIC goes and grabs the XIC of the widget and resets it. literally just that. reset era π
β¨
then it puts a pointer to a string containing the current preedit string into mb. and listen β the caller should free the returned string after use by calling Xfree. like, that's not optional bestie, that string is yours now, you have to take care of it π don't just leave it there, that's giving memory leak energy and we do not stan π
widgetβ specifies the ID of the widget. this is the main character, the one getting itsXICreset πmbβ contains a pointer to the preedit string upon return. so like, after the call, it's holding the goods β¨
π RETURN VALUE π
None. nothing. zero. empty. she gives you nothing back and honestly? iconic π but the preedit string lands in mb, so check there, not the return value, iykyk.
π SEE ALSO π
bestie... it's empty. like, genuinely nothing listed here. the section is here, the vibes are here, the entries are not π³οΈπ so if you were hoping for cross-references, not me finding them, because they do not exist π
lowkey important reminder: free that string with Xfree after you're done. no cap. it's the whole personality of this function's documentation. π«Ά
and that's the page, bestie!! π this was XmImMbResetIC(library call) β that's the manual name and the footer both, so consider it lovingly shouted out at the very end, exactly where it belongs β¨π go reset some input contexts, slay, periodt. π¦π
π¦ 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