XMLISTDESELECTITEM(3)
π XmListDeselectItem β the "actually, un-pick that" button π
okay bestie, so this is XmListDeselectItem, and it lives in the library call section of the manual. it's a List function whose whole entire job is deselecting the specified item from the selected list. that's it. that's the gig. and honestly? iconic of it to be so focused. π
β¨ SYNOPSIS β¨
#include <Xm/List.h>
void XmListDeselectItem(
Widget widget,
XmString item);
πΈ DESCRIPTION πΈ
so here's the vibe: XmListDeselectItem unhighlights and removes from the selected list the first item in the list that matches item. it's like when you accidentally add something to your cart and then quietly take it back out. no drama, no ceremony. just gone from the selection. π
here's the breakdown of the two things you gotta hand it:
widgetβ this is the ID of the List from whose list an item is getting deselected. yes, the double "list" is real, it's in the original, we respect the canon. π«Άitemβ the item you want deselected from the list. β οΈ important caveat alert β οΈ ifitemshows up more than once in the List, only the first occurrence is matched. so if your list is like "strawberry, strawberry, strawberry" and you deselect "strawberry", bestie, you deselected one strawberry. the other two are still chilling there. ππ
and for the complete definition of List and all its associated resources, you're gonna wanna go read XmList(3). it's the extended lore. iykyk. π
π RELATED π
XmList(3)β go read it, it's the main character. π
okay that's the whole page, periodt. π this was XmListDeselectItem from the library call manual, and the footer stamp on it is just XmListDeselectItem(library call) β same name, same section, keeping it cute and consistent. no date drama, no version tea, just the classic library-call signature. bye bestie, go deselect something 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