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

✨ NAME ✨

okay so we're doing XmListSelectPos today bestie β€” it's a List function that selects an item at a specified position in the list πŸ’… that's the whole vibe, that's the whole job, she's a one-trick pony and she ATE


🌸 SYNOPSIS 🌸

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

πŸ’– DESCRIPTION πŸ’–

XmListSelectPos highlights a List item at the specified position and adds it to the list of selected items. that's it. that's the girl. she shows up, she highlights, she adds to the selection set, she leaves πŸ”₯

  • widget β€” specifies the ID of the List widget. literally just, which list are we talking about, bestie πŸ‘‘
  • position β€” specifies the position of the item to be selected. and the numbering is iconic in a slightly chaotic way, so listen up:
    • a value of 1 means the first item in the list gets selected
    • a value of 2 means the second item gets selected
    • and so on, you get the pattern, you're smart 🌟
    • a value of 0 (zero) means the last item in the list gets selected. yeah, zero is the last one, not the first. it's giving reverse main character energy, it's giving "the floor is the ceiling", do not fight it, just memorise it 🫢
  • notify β€” specifies a Boolean value that, when TRUE, invokes the selection callback for the current mode. from an application interface view, calling this function with notify True is indistinguishable from a user-initiated selection action. like, the app literally cannot tell the difference between you and a real human clicking. catfishing but make it X11 πŸ’€ when notify is FALSE, no callbacks are called. silence. nothing. zero yapping πŸ™ˆ
for a complete definition of List and its associated resources, see XmList(3). go read her too, she's the whole lore, this page is just a side quest πŸ“–

XmList(3) and XmListSelectItem(3).

like obviously those two, the family tree is small but the bond is strong 🌈


and that's the tea, bestie β€” this was XmListSelectPos(library call) from the XmListSelectPos(library call) manual, mwah, take care of her, she's fragile but she's iconic πŸŽ€πŸ’–βœ¨