XMLISTITEMEXISTS(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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. πŸ’–


  • 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 πŸ’œπŸŽ€πŸ¦‹