XMIMVASETVALUES(3)
β¨ XmImVaSetValues β¨
okay bestie, buckle up, because we're doing a library call today π this one lives in section 3 of the manual, and it's giving input manager energy β let's get into it π¦
πΈ NAME πΈ
XmImVaSetValues β an input manager function that updates attributes of an input context β¨
π SYNOPSIS π
#include <Xm/XmIm.h>
void XmImVaSetValues(
Widget widget);
π DESCRIPTION π
So XmImVaSetValues updates the attributes of the input context that's associated with the widget you hand it π«Ά it does this by passing those attributes along to XICSetValues, no cap.
π heads up: the first time you call this routine, you should pass in all of the input context attributes. after that? you only call XmImVaSetValues when a value has actually changed. we don't do redundant calls around here π
and if you want the list of associated resources, go check the description in the XmImSetValues(3) man page β it's all there, iykyk π
This routine uses the ANSI C variable-length argument list (aka varargs) calling convention π the variable-length argument list is made up of groups of arguments, and each group contains an attribute followed by the value of that attribute π
π IMPORTANT: the last argument in the list must be NULL. not optional. periodt. if you forget it, that's on you bestie π
Also lowkey the List and TextField widgets call XmImVaSetValues internally already π so if you're working with those widgets, making further calls to XmImVaSetValues is unnecessary β save yourself the typing, main character π¦
widget β specifies the ID of the widget registered with the input manager π―
If you want more info on variable-length argument lists, hit up the X Toolkit Intrinsics documentation β it's got the lore β¨
π RELATED π
and that's the whole vibe, bestie π this was the XmImVaSetValues page from the library call manual, and honestly? iconic. go forth and set those values, and don't forget your NULL π mwah π«Άβ¨
π¦ 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