XMLISTSELECTITEM(3)
okay so bestie, welcome to the manual page for XmListSelectItem from the library call section π this one's all about making a List widget pick an item, and it's lowkey iconic. let's get into it.
π NAME π
XmListSelectItem β A List function that selects an item in the list
β¨ SYNOPSIS β¨
#include <Xm/List.h>
void XmListSelectItem(
Widget widget,
XmString item,
Boolean notify);
π DESCRIPTION π
XmListSelectItem highlights and adds to the selected list the first item in the list that matches item. it's giving "main character gets picked first" energy, no cap. π
here's the tea on the arguments:
widgetβ Specifies the ID of the List widget from whose list an item is selected. basically, tell it which List we're talking about π«Άitemβ Specifies the item to be selected in the List widget. Ifitemappears more than once in the List, only the first occurrence is matched. so if your fave is duplicated, it only notices the first one, periodt πnotifyβ Specifies a Boolean value that whenTRUEinvokes the selection callback for the current mode. From an application interface view, calling this function withnotifyTrueis indistinguishable from a user-initiated selection action. WhennotifyisFALSE, no callbacks are called. so like,TRUE= it's giving real user selection vibes,FALSE= silent treatment, no callback drama π
for a complete definition of List and its associated resources, see XmList(3). go read that if you want the full lore, bestie πβ¨
π₯ RELATED π₯
XmList(3) and XmListSelectPos(3). two more icons to check out, iykyk π
that's the whole page, babe π this was the XmListSelectItem(library call) manual page β no extra source/version/date in the footer, just pure Unix excellence. slay, and remember: only the first matching item gets selected, so choose wisely ππ
π¦
π¦ 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