XMCREATEPUSHBUTTONGADGET(3)
π XmCreatePushButtonGadget π
okay bestie, welcome to the XmCreatePushButtonGadget(library call) page β yes that's the real title, and yes it's a library call page, so we're in the C API zone, hydration check first, then we go π«Ά
β¨ NAME β¨
XmCreatePushButtonGadget β the PushButtonGadget creation function. that's it. that's the whole job. she creates, you press, everyone eats π
πΈ SYNOPSIS πΈ
#include <Xm/PushBG.h>
Widget XmCreatePushButtonGadget(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
lowkey iconic signature, no notes β¨
π¦ DESCRIPTION π¦
XmCreatePushButtonGadget creates an instance of a PushButtonGadget widget and returns the associated widget ID. boom. a whole button, born, handed to you by its ID like a little baby birth certificate π
now the four things you have to feed her, in order, no skipping:
parentβ specifies the parent widget ID. aka where this button lives. she needs a home fr fr πnameβ specifies the name of the created widget. give her a name bestie, she deserves one πarglistβ specifies the argument list. the whole vibe-config situation.argcountβ specifies the number of attribute/value pairs in the argument list (arglist). count them. correctly. no cap.
and for a complete definition of PushButtonGadget and its associated resources, you go read XmPushButtonGadget(3). that's the deep lore page, this one's just the creation ritual π
β RETURN β
Returns the PushButtonGadget widget ID. that's the prize. hold it gently, keep it safe, you'll need it later ππ
π RELATED π
and that's the page bestie!! go forth and make buttons, you're doing amazing sweetie π β¨
sign-off szn: this whole thing is the XmCreatePushButtonGadget(library call) page, footer and all β same title up top, same title at the bottom, so you literally can't get lost. mwah π no version numbers or dates were harmed in the making of this rewrite, they're just living in the footer where they belong ππ«Ά
π¦ 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