XMLISTPOSSELECTED(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

πŸ’– XmListPosSelected πŸ’–

okay bestie, welcome to the XmListPosSelected page from the library call section of the manual β€” yes she's a library call, she's iconic, she's giving ✨ quiet competence ✨, and she has exactly one job.


🌸 NAME 🌸

XmListPosSelected β€” a List function that figures out whether the list item sitting at a specified position is selected or not. that's it. that's the whole vibe check 🫢


✨ SYNOPSIS ✨

#include <Xm/List.h>
Boolean XmListPosSelected(
Widget widget,
int position);

πŸ¦‹ DESCRIPTION πŸ¦‹

XmPosSelected determines if the list item at the specified position is selected or not. (yes, the original literally writes it as XmPosSelected right there β€” not me, i'm just the messenger 😭 iykyk)

  • widget β€” specifies the ID of the List widget πŸ’…
  • position β€” specifies the position of the list item. a value of 1 indicates the first item in the list; a value of 2 indicates the second item; and so on. a value of 0 (zero) specifies the last item in the list πŸ‘‘
heads up bestie: if you want the complete definition of List and all its associated resources, go read XmList(3). she's the main character, this one's just her little sister 🌈

πŸŽ€ RETURN πŸŽ€

Returns True if the list item is selected. otherwise it returns False β€” and that's for either of these two situations, no cap:

  1. the item is not selected, or
  2. the specified position is invalid πŸ’€


and that's the whole page, bestie!! this one came from the library call manual, and the footer at the bottom just said XmListPosSelected(library call) all over again β€” no version number, no date, nothing, she's mysterious like that πŸ™ˆπŸ’–

now go select something. periodt. πŸŽ€βœ¨