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

XmTabSetValue β€” bestie, it's a convenience function that sets a tab stop πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/Xm.h>
void XmTabSetValue(
        XmTab tab,
        float value);

πŸŽ€ DESCRIPTION πŸŽ€

okay so XmTabSetValue sets the value field of the XmTab structure that's associated with tab. that's the whole vibe. lowkey iconic, highkey useful 🫢

  • tab β€” specifies the tab to set the value of. this is the one you're messing with, bestie.
  • value β€” specifies the floating point number which 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 depends on the tab's unit type. πŸ“
⚠️ note that negative values are not permitted, fr fr. and if a tab stop would cause text to overlap, the x position for the segment is set immediately after the end of the previous segment. no overlapping text on my watch πŸ’€

see also the Motif Programmer's Guide for more information about tabs and tab lists. also go say hi to XmTab(3). πŸ‘‘


and that's the tea, bestie πŸ“ this lil gem lives in the XmTabSetValue(library call) manual, part of the Motif library docs β€” go forth and set those tab values responsibly βœ¨πŸ’–