XMCREATEBUTTONBOX(3)
π 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. π
π¦ RELATED π¦
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 ππ
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms