XMTEXTSETINSERTIONPOSITION(3)
β¨ NAME β¨
XmTextSetInsertionPosition β a Text function that sets the position of the insert cursor π
πΈ SYNOPSIS πΈ
#include <Xm/Text.h>
void XmTextSetInsertionPosition(
Widget widget,
XmTextPosition position);
π DESCRIPTION π
okay so bestie, XmTextSetInsertionPosition sets the insertion cursor position of the Text widget. that's the whole vibe. it just... moves the little blinking cursor, no big deal, except it IS a big deal because this routine also calls the widget's XmNmotionVerifyCallback callbacks if the insertion cursor position changes. so if the cursor actually moves somewhere new, those callbacks get pinged. if nothing changed? they stay quiet. iconic behaviour honestly. π¦
widgetβ specifies the Text widget ID π«Άpositionβ specifies the position of the insertion cursor. this is an integer number of characters from the beginning of the text buffer. and the very first character position is0(zero), not 1, because we count from zero in this house. π
for a complete definition of Text and its associated resources, see XmText(3). go read it, it's giving main character energy. πβ¨
π RELATED π
k that's the whole page babes π this one's filed under library call, straight outta the Xm library (Motif era, the OGs), and the footer was literally just the title again β XmTextSetIn...ionPosition(library call) β because the man page template was feeling a lil lazy. no date given, so no date invented. 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