XMLISTYTOPOS(3)
okay so bestie, this is XmListYToPos(library call) β yes, the manual name is right there, folded in like a cute little name tag π. It's a List function that returns the position of the item at a specified y-coordinate. iykyk.
β¨ NAME β¨
XmListYToPos β A List function that returns the position of the item at a specified y-coordinate. lowkey does exactly what it says on the tin π
πΈ SYNOPSIS πΈ
#include <Xm/List.h>
int XmListYToPos(
Widget widget,
Position y);
π DESCRIPTION π
XmListYToPos returns the position of the item at the given y-coordinate within the list. it's literally the vibe check for βwhich item is at this y?β π¦
widgetβ Specifies the ID of the List widget. that's the main character right there πyβ Specifies the y-coordinate in the list's coordinate system. not screen coords, bestie β the list's own coordinate system, okay? π
For a complete definition of List and its associated resources, see XmList(3). no skipping, it's important π«Ά
β RETURN β
Returns the position of the item at the specified y coordinate. here's the tea β:
- A value of
1indicates the first item in the list. - A value of
2indicates the second item. - and so on, you get the pattern, periodt.
- A value of
0(zero) indicates that no item exists at the specified y coordinate. π
bestie, 0 is not item zero β it means there is no item at that y coordinate. do not get it twisted π
π₯ RELATED π₯
XmList(3) and XmListPosToBounds(3). go read those too, bestie π
XOXO from the XmListYToPos(library call) page π β source/version: library call; date: not listed on this footer, so that's all we got. stay 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