XMLISTDELETEPOS(3)
π NAME π
okay so bestie, <rainbow>XmListDeletePos</rainbow> is a List function that deletes an item from a list at a specified position. that's the whole vibe. it's giving "yeet that row out of there." β¨
it lives in the library call manual, btw β that's where you'll find her π
β¨ SYNOPSIS β¨
#include <Xm/List.h>
void XmListDeletePos(
Widget widget,
int position);
no cap, that's literally the entire call signature. two args, one dream π«Ά
π¦ DESCRIPTION π¦
XmListDeletePos deletes an item at a specified position. that's it, that's the job π
but listen β if the position you gave her doesn't exist, a warning message appears. so like, don't try to delete position 400 in a list of three. she will call you out. π
here's the breakdown of the args, bestie:
widgetβ Specifies the ID of the List from which an item is to be deleted. basically "which list are we deleting from, queen?"positionβ Specifies the position of the item to be deleted. and the numbering here is iconic in the most unhinged way:- A value of
1indicates that the first item in the list is deleted π₯ - a value of
2indicates that the second item is deleted π₯ - and so on π«
- A value of
0(zero) indicates that the last item in the list is deleted π
- A value of
not me finding out0means last and not first π that's the whole twist.0= the end of the list. periodt.
For a complete definition of List and its associated resources, see XmList(3). (yes, she's got lore. go read it. iykyk π)
π RELATED π
mwah π that's the whole page, bestie. this little love letter is from the library call manual β XmListDeletePos(library call), the one and only β and it's giving timeless classic energy. now go forth and delete responsibly ππ
π¦ 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