XMTEXTSHOWPOSITION(3)
π XmTextShowPosition π
okay bestie, welcome to the XmTextShowPosition page β it's a library call from the Xm fam, and it is genuinely so useful, no cap. it's a Text function that forces text at a given position to be displayed π¦ like, you point at a spot, and the widget shows you that spot. main character energy fr fr.
β¨ SYNOPSIS β¨
#include <Xm/Text.h>
void XmTextShowPosition(
Widget widget,
XmTextPosition position);
πΈ DESCRIPTION πΈ
so XmTextShowPosition forces the text at the specified position to be displayed. that's the whole gig π
π heads up bestie: if theXmNautoShowCursorPositionresource isTrue, then the application should also set the insert cursor to this position. don't skip that part, it's giving teamwork.
here's the tea on the args:
widgetβ Specifies the Text widget ID. yeah, you gotta tell it which widget, obviously π«Άpositionβ Specifies the character position to be displayed. This is an integer number of characters from the beginning of the text buffer. The first character position is0(zero). not one, bestie, zero. index-from-zero girlies rise up β¨
if a navigator exists, this function uses the XmQTnavigator trait to update the horizontal navigator's value. lowkey iconic how it just does that for you π
for a complete definition of Text and its associated resources, see XmText(3). go read it, i'll wait π§
π RELATED π
k that's the whole page, you ate it π mwah β this was XmTextShowPosition(library call), straight from the Xm library docs, footer and all. bye bestie, go make some text visible π¦β
π¦ 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