XMTEXTFIELDSHOWPOSITION(3)
π XmTextFieldShowPosition π
okay bestie, gather round, because today we're talking about a lil function from the library call manual β XmTextFieldShowPosition β and she is exactly what she sounds like: a TextField function that forces text at a given position to be displayed. no cap. π
β¨ NAME β¨
XmTextFieldShowPosition β a TextField function that forces text at a given position to be displayed π¦
β¨ SYNOPSIS β¨
#include <Xm/TextF.h>
void XmTextFieldShowPosition(
Widget widget,
XmTextPosition position);
like. look at her. two args, void return, no drama. π
β¨ DESCRIPTION β¨
so XmTextFieldShowPosition forces text at the specified position to be displayed. that's the whole job. that's the assignment and she ate. π₯
and here's the lil plot twist you need to know, bestie β the way that this function does not touch the cursor... it's giving "i'm just here to scroll, not to be the main character." the cursor position is not updated, and the cursor is not shown at this position. periodt. π
widgetβ specifies the TextField widget ID π«Άpositionβ specifies the character position to be displayed. this one's an integer number of characters from the beginning of the text buffer, and the first character position is 0 (zero), because of course it is, zero-indexing stays undefeated. seeXmTextPosition(3)for details on theXmTextPositiondata type. β
oh and also β for a complete definition of TextField and its associated resources, go peek at XmTextField(3). iykyk π
β¨ RELATED β¨
XmTextField(3) and XmTextPosition(3) πΈ
okay that's the whole page, you're fully caught up, go forth and scroll responsibly. this was the library call page for XmTextFieldShowPosition and honestly? iconic. 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