XMCREATEBUTTONBOX(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

πŸ’– XmCreateButtonBox β€” the ButtonBox widget creation function πŸ’–

okay bestie, welcome to XmCreateButtonBox, a little library call from the Xm crew that literally just spins up a whole ButtonBox widget for you and hands you back its ID. iconic behavior tbh. it's giving "I made you a box, you're welcome." πŸŽ€


✨ SYNOPSIS ✨

#include <Xm/ButtonBox.h>
Widget XmCreateButtonBox(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);

like, copy that exactly, no cap. 🫢


🌸 DESCRIPTION 🌸

XmCreateButtonBox creates an instance of a ButtonBox widget and returns the associated widget ID. that's the whole vibe. one call, one box, one ID. slay. πŸ’…

here's the breakdown of what you're feeding it, bestie:

  • parent β€” Specifies the parent widget ID. this is the widget that's gonna adopt your brand new ButtonBox, so pick a good one. 🧚
  • name β€” Specifies the name of the created widget. give it a cute name, it deserves one. ✨
  • arglist β€” Specifies the argument list. all your attribute/value pairs go here. πŸ‘‘
  • argcount β€” Specifies the number of attribute/value pairs in the argument list (arglist). yes you gotta count them yourself, the function is not psychic. 😭

For a complete definition of ButtonBox and its associated resources, see XmButtonBox(3). go read that one too, it's the whole lore. 🌈


πŸ”₯ RETURN πŸ”₯

Returns the BulletinBoard widget ID.

not me pointing out that the ButtonBox creation function returns a BulletinBoard widget ID β€” that's literally what the manpage says, so that's what we're saying. it's canon. πŸ’€

  • XmButonBox(3).

(spelled exactly like that, bestie β€” we don't fix typos in manpages, we preserve them like little museum artifacts πŸ›οΈβœ¨)


and that's the whole page, mwah πŸ’œ this lil doc came to you straight from the XmCreateButtonBox(library call) section of the manual β€” same header, same footer, same energy, just with way more sparkle. bye bestie, go make some widgets πŸŽ€πŸ’–