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

XmScaleGetValue β€” bestie, this is a Scale function that returns the current slider position πŸ’…

It's a library call, so it lives in the library call section of the manual, and its name is literally XmScaleGetValue. Say it with me now: XmScaleGetValue. Iconic.


πŸŽ€ SYNOPSIS πŸŽ€

#include <Xm/Scale.h>
void XmScaleGetValue(
        Widget widget,
        int * value_return);

Okay so you pull in the header, you call the thing, you pass it a widget and a pointer. That's the whole vibe. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

XmScaleGetValue returns the current slider position value displayed in the scale. That's it, that's the whole job, and it does it flawlessly, no cap. πŸ‘‘

Let's break down the cast of characters:

  • widget β€” Specifies the Scale widget ID. This is the Scale you're interrogating, bestie. 🫢
  • value_return β€” Returns the current slider position value. You hand it a pointer, it fills it in with the truth. Main character behavior fr fr.
For a complete definition of Scale and its associated resources, see XmScale(3). Go read it, iykyk β€” the resources are all in there and they are so worth your time. πŸ“–πŸ’–

  • XmScale(3). The origin story. The blueprint. Go stan it. πŸ’œ

And that's the whole page, bestie β€” this is the XmScaleGetValue(library call) manual entry, wrapped up with love and zero missing details. Stay slay, go read your slider values, and remember: XmScale(3) is always there for you when you need the full Scale lore. πŸŽ€βœ¨πŸ¦‹πŸ’