XMLISTSETPOS(3)
β¨ NAME β¨
okay so bestie, this is XmListSetPos β a List function that makes the item at the given position the first visible position in the list. And it lives in the library call section, periodt. π
πΈ SYNOPSIS πΈ
include the header, call the function, that's the whole summoning ritual:
#include <Xm/List.h>
void XmListSetPos(
Widget widget,
int position);
π DESCRIPTION π
XmListSetPos makes the item at the given position the first visible position in the list. That's the whole flex. β¨
widgetβ specifies the ID of the List widget. It's the widget you're giving the glow-up.positionβ specifies the position of the item to be made the first visible item in the list. A value of1indicates that the first item in the list is the first visible item; a value of2indicates that the second item is the first visible item; and so on. A value of0(zero) indicates that the last item in the list is the first visible item. yes, zero means last, not first β iconic little plot twist. π
For a complete definition of List and its associated resources, see XmList(3). iykyk.
π¦ RELATED π¦
π that's the whole page, bestie β XmListSetPos, from the library call section, and that's the 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