XMLISTGETKBDITEMPOS(3)
π XmListGetKbdItemPos π
okay bestie, gather round, because this is a library call from the one and only XmListGetKbdItemPos and she is so simple it's almost criminal. we're talking X/Motif List widget territory, iykyk π¦
β¨ NAME β¨
XmListGetKbdItemPos β a List function that returns the position of the item at the location cursor π
πΈ SYNOPSIS πΈ
#include <Xm/List.h>
int XmListGetKbdItemPos(
Widget widget);
π DESCRIPTION π
so basically, XmListGetKbdItemPos returns the position of the list item at the location cursor. that's it. that's the whole job. she's a one-trick pony and she ate π
β¨
widgetβ Specifies the ID of the List widget π
and if you want the complete definition of List and all its associated resources, go read XmList(3). like, the whole lore. it's giving required reading fr fr π
β RETURN β
she returns the position of the current keyboard item. let's break that down because the numbering is lowkey iconic:
- a value of 1 means the location cursor is chillin' at the first item of the list π₯
- a value of 2 means it's at the second item π₯
- and so on, and so on, you get the vibe π
- a value of 0 (zero) means the List widget is empty π literally nothing in there, tragic
no cap, 0 is the "bestie the list is empty" signal. do not come for her, she is just being honest π
π«Ά RELATED π«Ά
and that's the whole page, bestie!! this was XmListGetKbdItemPos(library call) β a library call, and yes the manual name is literally "library call" because that's how X/Motif rolls π she's serving source-and-version-and-date energy with absolutely zero drama, periodt. go forth and query that keyboard item position, you absolute main character πππ¦β¨
π¦ 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