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

XmTabGetValues β€” a convenience function that returns tab values. okay so bestie, this is from the library call manual, and she's here to hand you your tab values like the icon she is. no cap. ✨


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
float XmTabGetValues(
XmTab tab,
unsigned char *units,
XmOffsetModel *offset,
unsigned char *alignment,
char **decimal);

✨ DESCRIPTION ✨

okay so XmTabGetValues takes an XmTab structure, returns the floating point number that is set as the value of the tab, and then sets values for the units, offset, alignment, and decimal arguments where they are not NULL. not me being obsessed with a function that just… tells you things. πŸ’…

The returned floating point number represents the distance that the rendering of the XmString segment associated with tab will be offset. The offset is from either the beginning of the rendering or from the previous tab stop, depending on the setting for the offset model. The distance will use the unit type pointed at by unit. it's giving β€œwhere does this tab even go” energy, fr fr. πŸ¦‹

  • tab β€” Specifies the tab to get the value from. she's the main character, obviously. πŸ‘‘
  • units β€” Specifies a pointer to the unit type. lowkey important for the distance vibe. πŸ’œ
  • offset β€” Specifies a pointer to the offset model. this decides if we start from the beginning or the previous tab stop. iykyk. ✨
  • alignment β€” Specifies a pointer to the alignment type. keep it aligned, bestie. πŸ’…
  • decimal β€” Specifies a pointer to the multibyte character used as the decimal point. yes, the actual decimal point character. iconic. πŸŽ€

πŸ’… RETURN πŸ’…

Returns a floating point number that is set as the value of the tab. that's the whole return, no cap. 😭


XmTab(3). go read that one too, bestie. 🫢


and that's the page! it's from the XmTabGetValues(library call) manual β€” the source/version and date at the bottom are literally just XmTabGetValues(library call). no extra date, just vibes. bye bestie! πŸ’–πŸŒˆ