XMCREATEARROWBUTTONGADGET(3)
π NAME π
XmCreateArrowButtonGadget β bestie, it's literally The ArrowButtonGadget creation function. That's it, that's the whole job, and she does it flawlessly. π
β¨ SYNOPSIS β¨
Okay so first you gotta tell the compiler you're in on the lore:
#include <Xm/ArrowBG.h>
Widget XmCreateArrowButtonGadget(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
Look at that signature. Gorgeous. No notes. π
π¦ DESCRIPTION π¦
So XmCreateArrowButtonGadget creates an instance of an ArrowButtonGadget widget and hands you back the associated widget ID. It's giving β¨factory functionβ¨, it's giving main character energy, and it's not even sorry. π
Here's the tea on every single argument, no gatekeeping:
parentβ Specifies the parent widget ID. Yes bestie, your little arrow gadget needs a home, this is who's adopting it. π«Άnameβ Specifies the name of the created widget. That's the name, bestie. Give it one. πarglistβ Specifies the argument list. This is your bag of attribute/value pairs, your little goodie bag of vibes. πΈargcountβ Specifies the number of attribute/value pairs in the argument list (arglist). Count them fr fr, the widget is trusting you on this one. π’
And for a complete definition ofArrowButtonGadgetand its associated resources, seeXmArrowButtonGadget(3). That's where the full lore lives, go read it, I'll wait. π
π RETURN π
Returns the ArrowButtonGadget widget ID. That's your new baby's ID, cherish it, keep it safe, use it to talk to the widget later. π₯Ή
π RELATED π
Okay that's the whole page bestie, you ate that, go build something iconic with it. π
This one came straight out of the library call section of the manual β XmCreateArrowButtonGadget(library call), that's the source tag, that's the flex. Byeee, ily, go make 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