XMLISTDELETEITEMSPOS(3)
β¨ XmListDeleteItemsPos β¨
okay bestie, welcome to XmListDeleteItemsPos β it's a List function from the Xm library, and it deletes items from the list starting at the given position. that's the whole vibe. it's a library call, it lives in a man page, and it's about to be your new fave little deletion gremlin π¦
π SYNOPSIS
#include <Xm/List.h>
void XmListDeleteItemsPos(
Widget widget,
int item_count,
int position);
ngl, that's the whole signature. no return value, no drama, just vibes and item removal π
πΈ DESCRIPTION
XmListDeleteItemsPos deletes the specified number of items from the list starting at the specified position. that's it. that's the function. she's simple, she's direct, she does exactly one thing and she does it well. main character energy fr fr π
here's the tea on each parameter:
widgetβ Specifies the ID of the List from whose list an item is deleted. yes bestie, she's asking for the ID of the List so she knows which list we're deleting from πitem_countβ Specifies the number of items to be deleted. This number must be nonnegative. lowkey important: nonnegative means zero or up, so don't you dare slide a negative number in there πpositionβ Specifies the position in the list of the first item to be deleted. A value of1indicates that the first deleted item is the first item in the list; a value of2indicates that it is the second item; and so on. so it's 1-indexed, not 0-indexed β the way that1is the first item and2is the second and it just keeps going like that π
π§ a lil note on List itself
For a complete definition of List and its associated resources, see XmList(3). if you want the full lore, that's where the lore lives π
π RELATED
and that's the whole page, bestie!! π this one came from the library call source, version/date vibes of the XmListDeleteItemsPos(library call) era β so if you ever need to cite her, that's the energy. now go forth and delete items at 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