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

πŸ’– XmListSetBottomPos πŸ’–

okay bestie, gather round, because we're talking about XmListSetBottomPos β€” a List function that makes a specified item the last visible item in the list. yes, the whole personality of this one is "scroll so this thing is at the bottom," and honestly? iconic behavior. πŸ‘‘


✨ SYNOPSIS ✨

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

literally just those two args. no cap. πŸŽ€


🌸 DESCRIPTION 🌸

XmListSetBottomPos makes the item at the specified position the last visible item in the List. that's it, that's the whole serve. πŸ’…

  • widget β€” Specifies the ID of the List widget. (which list are we messing with? this one. 🫢)
  • position β€” Specifies the position of the item to be made the last visible item in the list. and here's the lore, bestie, write it down πŸ“:
    • a value of 1 indicates that the first item in the list is the last visible item
    • a value of 2 indicates that the second item is the last visible item
    • and so on, you get the pattern, iykyk
    • a value of 0 (zero) indicates that the last item in the list is the last visible item
so like. 0 is the sneaky little shortcut that means "just go to the very end." it's giving plot twist, not me being confused, fr fr. 😭

if you want the complete definition of List and all its associated resources, go read XmList(3). it's the extended lore, the director's cut, the whole cinematic universe. πŸ¦‹



and that's the tea, bestie β€” every flag, every value, every vibe, all present and accounted for. this was XmListSetBottomPos from the library call section of the manual, and yes the header and footer say the exact same thing, because it's that confident. periodt. πŸ’œβœ¨