XMDATAFIELDSETSTRING(3)
β¨ NAME β¨
XmDataFieldSetString β bestie, this is the DataField function that sets the string value π
πΈ SYNOPSIS πΈ
#include <Xm/DataF.h>
void XmDataFieldSetString(
Widget widget,
char * value);
π¦ DESCRIPTION π¦
Okay so XmDataFieldSetString sets the string value of the DataField widget. That's the whole assignment, and it ate. π
But the way it does it? Iconic behaviour. This routine calls the widget's XmNvalueChangedCallback and the verification callbacks β that's either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both of them if you're feeling extra.
And here's the tea on ordering, because it matters fr fr: if both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first, and the resulting data is then passed to the XmNmodifyVerifyCallbackWcs callbacks. No cap, that's the sequence. π«Ά
It also sets the insertion cursor position to the beginning of the string, and calls the widget's XmNmotionVerifyCallback callbacks. So many callbacks, so little time. π
widgetβ Specifies the DataField widget IDvalueβ Specifies the character pointer to the string value and places the string into the text edit window
For a complete definition of DataField and its associated resources, see XmDataField(3). Go read it, it's giving essential context. π
π RELATED π
XmDataField(3)XmDataFieldSetStringWcs(3)
And that's the whole page, bestie β this was XmDataFieldSetString from the library call section of the manual, and you absolutely understood all of it. Slay. πβ¨
π¦ 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