XMLISTSELECTPOS(3)
β¨ NAME β¨
okay so we're doing XmListSelectPos today bestie β it's a List function that selects an item at a specified position in the list π
that's the whole vibe, that's the whole job, she's a one-trick pony and she ATE
πΈ SYNOPSIS πΈ
#include <Xm/List.h>
void XmListSelectPos(
Widget widget,
int position,
Boolean notify);
π DESCRIPTION π
XmListSelectPos highlights a List item at the specified position and adds it to the list of selected items. that's it. that's the girl. she shows up, she highlights, she adds to the selection set, she leaves π₯
widgetβ specifies the ID of the List widget. literally just, which list are we talking about, bestie πpositionβ specifies the position of the item to be selected. and the numbering is iconic in a slightly chaotic way, so listen up:- a value of
1means the first item in the list gets selected - a value of
2means the second item gets selected - and so on, you get the pattern, you're smart π
- a value of
0(zero) means the last item in the list gets selected. yeah, zero is the last one, not the first. it's giving reverse main character energy, it's giving "the floor is the ceiling", do not fight it, just memorise it π«Ά
- a value of
notifyβ specifies a Boolean value that, whenTRUE, invokes the selection callback for the current mode. from an application interface view, calling this function withnotifyTrue is indistinguishable from a user-initiated selection action. like, the app literally cannot tell the difference between you and a real human clicking. catfishing but make it X11 π whennotifyisFALSE, no callbacks are called. silence. nothing. zero yapping π
for a complete definition of List and its associated resources, see XmList(3). go read her too, she's the whole lore, this page is just a side quest π
π¦ RELATED π¦
XmList(3) and XmListSelectItem(3).
like obviously those two, the family tree is small but the bond is strong π
and that's the tea, bestie β this was XmListSelectPos(library call) from the XmListSelectPos(library call) manual, mwah, take care of her, she's fragile but she's iconic ππβ¨
π¦ 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