XMTEXTSETHIGHLIGHT(3)
πΈ NAME πΈ
okay bestie, meet XmTextSetHighlight β A Text function that highlights text. it's a library call, and it's here to make your Text widget look cute without actually selecting anything. π
β¨
β¨ SYNOPSIS β¨
#include <Xm/Text.h>
void XmTextSetHighlight(
Widget widget,
XmTextPosition left,
XmTextPosition right,
XmHighlightMode mode);
π DESCRIPTION π
XmTextSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of highlighting.
Highlighting text merely changes the visual appearance of the text; it does not set the selection. π¨
Now the args, one by one, no skips, fr fr:
widgetβ Specifies the Text widget ID. πleftβ Specifies the position of the left boundary of text to be highlighted. This is an integer number of characters from the beginning of the text buffer. The first character position is0(zero). πrightβ Specifies the position of the right boundary of text to be highlighted. This is an integer number of characters from the beginning of the text buffer. The first character position is0(zero). π¦modeβ Specifies the type of highlighting to be done. β¨ Here are the values:- A value of
XmHIGHLIGHT_NORMALremoves highlighting. π§Ό - A value of
XmHIGHLIGHT_SELECTEDhighlights the text using reverse video. π₯ - A value of
XmHIGHLIGHT_SECONDARY_SELECTEDhighlights the text using underlining. π
- A value of
For a complete definition of Text and its associated resources, see XmText(3). π
π¦ RELATED π¦
XmText(3). bestie, go read that too, iykyk π
and that's the page! signed, sealed, delivered: XmTextSetHighlight(library call) β that's the source/version/date footer energy, 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