XMLISTDELETEPOSITIONS(3)
β¨ NAME β¨
XmListDeletePositions β bestie, it's a List function that deletes items from a list based on an array of positions π
π SYNOPSIS π
#include <Xm/List.h>
void XmListDeletePositions(
Widget widget,
int *position_list,
int position_count);
π DESCRIPTION π
ok so XmListDeletePositions deletes noncontiguous items from a list πΈ like, not a lil row of them all next to each other, we're being β¨selectiveβ¨. The function deletes all items whose corresponding positions appear in the position_list array. no cap, every single one in there gets yeeted.
β οΈ A warning message is displayed if a specified position is invalid β that means the value is 0, a negative integer, or a number greater than the number of items in the list. so pls don't do that, it's giving chaos π
widgetβ Specifies the ID of the List widget π«Ά (yes, the actual widget, hand it over)position_listβ Specifies an array of the item positions to be deleted. The position of the first item in the list is1; the position of the second item is2; and so on. β so it's 1-indexed, not 0-indexed, do not come at me with a0unless you want that warning message πposition_countβ Specifies the number of elements in theposition_list. π₯ like, how many positions are we actually working with here
For a complete definition of List and its associated resources, see XmList(3). π
π RELATED π
ok that's the whole thing bestie, mwah π this was pulled straight from the library call manual, page XmListDeletePositions β go forth and delete those positions, you absolute icon πβ¨π
π¦ 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