XMLISTDELETEITEM(3)
β¨ XmListDeleteItem β¨
okay bestie, gather round, because we're diving into the library call corner of the manual and it's giving iconic π
π NAME π
XmListDeleteItem β a List function that deletes an item from the list. yes that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
#include <Xm/List.h>
void XmListDeleteItem(
Widget widget,
XmString item);
π¦ DESCRIPTION π¦
so here's the tea: XmListDeleteItem deletes the first item in the list that matches item. one item, first match, done. no cap.
β οΈ and if the item doesn't exist? a warning message appears. not me getting yelled at by the List for asking for something that was never there π
widgetβ specifies the ID of the List from whose list an item is deleted. she needs to know which list we're operating on, obviously π«Άitemβ specifies the text of the item to be deleted from the list. and lowkey important: ifitemappears more than once in the List, only the first occurrence is matched. so if you've got duplicates, bestie, only the first one gets got. the rest are still there living their lives π
for a complete definition of List and its associated resources, see XmList(3). iykyk, go read it, it's the main character of this whole saga π
π RELATED π
and that's the whole page, periodt β¨ brought to you by the XmListDeleteItem(library call) manual page, aka the library call section doing what it does best π love that for her, love that for us, go delete some items 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