XMLISTITEMEXISTS(3)
π XmListItemExists β a library call, bestie, section 3 energy β¨
okay so picture this: you're deep in Motif land, you've got a List widget, and you just need to know ONE thing β is my item in there or not? That's the whole plot. XmListItemExists is a List function that checks if a specified item is in the list, and it's literally that simple. No cap. π¦
πΈ NAME πΈ
XmListItemExists β a List function that checks if a specified item is in the list. That's it, that's the job, and she does it flawlessly. π
β¨ SYNOPSIS β¨
#include <Xm/List.h>
Boolean XmListItemExists(
Widget widget,
XmString item);
look at her. so clean. so demure. π
π DESCRIPTION π
XmListItemExists is a Boolean function that checks if a specified item is present in the list. Yes bestie, Boolean β she comes back with a yes or a no, no in-between, no "it's complicated", no situationship. π
Here's the cast:
widgetβ specifies the ID of the List widget. That's your main character right there, the List you're interrogating. π«Άitemβ specifies the item whose presence is checked. The one you're looking for. The "are you in there or not" of it all. π
Heads up! For a complete definition of List and its associated resources, see XmList(3). Go read it, it's giving encyclopedia but make it slay. π
β RETURN β
Returns True if the specified item is present in the list. That's the whole vibe check: present = True. π
π RELATED π
XmList(3)β the big one, the parent page, the icon. π
okay that's the page!! you now officially know how to check if an item exists in a List widget, and honestly? proud of you. go forth and query. πΈβ¨
this was XmListItemExists(library call) β a library call from the Xm library, filed under section 3, no version stamp or date on the page itself, so we're keeping it mysterious like that. mwah, bye bestie πππ¦
π¦ 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