XMTEXTSETADDMODE(3)
π XmTextSetAddMode π
okay bestie, so we're diving into XmTextSetAddMode, a library call straight out of the XmText fam. it's giving β¨ Text widget energy β¨ and it's literally about to make your Add mode dreams come true. no cap. π¦
πΈ NAME πΈ
XmTextSetAddMode β a Text function that sets the state of Add mode π
β¨ SYNOPSIS β¨
#include <Xm/Text.h>
void XmTextSetAddMode(
Widget widget,
Boolean state);
periodt. that's the whole vibe right there. π
π DESCRIPTION π
so like, XmTextSetAddMode controls whether or not the Text widget is in Add mode. simple as that, bestie. π«Ά
and here's the iconic part β when the widget is in Add mode, the insert cursor can be moved around without disturbing the primary selection. literally main character energy. the cursor just does its little thing and the primary selection stays untouched. obsessed. πβ¨
widgetβ specifies the Text widget ID. like, which Text widget are we even talking to? that one. πstateβ specifies whether or not the widget is in Add mode. a value ofTrueturns Add mode on; a value ofFalseturns Add mode off. that's it, that's the toggle. π
for a complete definition of Text and its associated resources, go check out XmText(3). the lore is all in there, iykyk. π
π RELATED π
XmText(3). π
and that's the whole page, bestie!! π this was XmTextSetAddMode(library call) β like, the actual title of this whole manual moment β brought to you with all the love in the world. stay slay, keep your primary selection safe, and go set some Add mode. π β¨π¦πΈπ
π¦ 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