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

XmToggleButtonGetState β€” a ToggleButton function that obtains the state of a ToggleButton. That's it, that's the whole job bestie, and she does it flawlessly. This one lives in the library call manual, iykyk. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <Xm/ToggleB.h>
Boolean XmToggleButtonGetState(
Widget widget);

🌸 DESCRIPTION 🌸

Okay so XmToggleButtonGetState obtains the state of a ToggleButton. That's the entire mission. No side quests, no drama, just vibes and a clean answer. πŸ¦‹

  • widget β€” specifies the ToggleButton widget ID. That's the one you're asking about, bestie, hand her over and she'll tell you everything. πŸ’…

If you want the complete definition of ToggleButton and all its associated resources β€” the whole lore, the full backstory β€” go read XmToggleButton(3). It's giving required reading. πŸ“š


⭐ RETURN ⭐

Returns True if the button is selected, and False if the button is unselected.

Like... binary queen behavior fr fr. True = selected, False = unselected. No in-between, no "it's complicated". πŸ‘‘


And that's the tea, bestie! This page came to you straight from the XmToggleButtonGetState(library call) manual β€” a certified library call classic, no cap. Go forth and check your toggle states, you absolute icon. πŸ’…βœ¨πŸŽ€