XMLISTSETHORIZPOS(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 ✨

XmListSetHorizPos β€” bestie, it's a List function that scrolls to the specified position in the list πŸ’…


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: XmListSetHorizPos sets the XmNvalue resource of the horizontal ScrollBar to the specified position, and then it updates the visible portion of the list with the new value β€” but only if the List widget's XmNlistSizePolicy is set to XmCONSTANT or XmRESIZE_IF_POSSIBLE, and the horizontal ScrollBar is currently visible. it's giving very conditional, very "read the fine print" πŸŽ€

lowkey it's exactly equivalent to moving the horizontal ScrollBar to the specified position. that's the whole vibe. no cap. ✨

  • widget β€” Specifies the ID of the List widget πŸ‘‘
  • position β€” Specifies the horizontal position 🌈

and if you want the complete definition of List and its associated resources, go read XmList(3). fr fr, it's all in there. 🫢



and that's a wrap, bestie!! this iconic little page comes to you from XmListSetHorizPos(library call) β€” same name up top, same name down at the bottom, and the header/footer is literally just XmListSetHorizPos(library call) chillin' on both ends. slay πŸ’…βœ¨πŸ¦‹