XMTEXTSETSTRING(3)
πΈ NAME πΈ
XmTextSetString β A Text function that sets the string value. Bestie, it's from the (library call) manual, and it's literally the "set the whole string, no cap" function. π
β¨ SYNOPSIS β¨
#include <Xm/Text.h>
void XmTextSetString(
Widget widget,
char * value);
π DESCRIPTION π
Okay so XmTextSetString sets the string value of the Text widget. The way it does that? It calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. π
If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first, and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. Order matters, fr fr β first list runs, then its resulting data goes to the Wcs callbacks. β¨
This function also sets the insertion cursor position to the beginning of the string and calls the widget's XmNmotionVerifyCallback callbacks. Cursor said "back to the start, periodt." π
widgetβ Specifies the Text widget ID.valueβ Specifies the character pointer to the string value and places the string into the text edit window.
For a complete definition of Text and its associated resources, see XmText(3). π¦
π RELATED π
XmText(3) and XmTextSetStringWcs(3). That's the whole squad. π
XmTextSetString(library call) β that's the footer source/manual section, and it's iconic. π
π¦ 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