XMVACREATEMANAGEDPUSHBUTTONGADGET(3)
β¨ NAME β¨
XmVaCreatePushButtonGadget, XmVaCreateManagedPushButtonGadget β bestie, these are the PushButtonGadget widget convenience creation functions π (yes, both of them, we're doing a two-for-one)
πΈ SYNOPSIS πΈ
#include <Xm/PushBG.h>
Widget XmVaCreatePushButtonGadget(
Widget parent,
String name,
...);
Widget XmVaCreateManagedPushButtonGadget(
Widget parent,
String name,
...);
Two functions, same shape, one very important difference, we'll get to it, promise π«Ά
π DESCRIPTION π
okay so. These functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. π
And these routines use the ANSI C variable-length argument list (varargs) calling convention β so that ... at the end? That's doing the heavy lifting, not just vibes. β¨
The XmVaCreatePushButtonGadget function is a convenience routine that calls XtCreateWidget.
The XmVaCreatePushButtonGadget function is a convenience routine that calls XtCreateManagedWidget.
fr fr that's exactly what it says, we're reporting the lore as-is, no editing, no editorialising π«‘
Now the arguments, one by one, no skipping, we're thorough in this house π
parentβ Specifies the parent widget ID. like, whose kid is this widget. πΌnameβ Specifies the name of the created widget. give it a name bestie, it deserves one π·οΈ...β Specifies the variable argument list to override the resource defaults. this is where you get to be picky about literally everything β¨
For a complete definition of PushButtonGadget and its associated resources, see XmPushButtonGadget(3). go read it, it's giving essential π
π RETURN π
Returns the PushButtonGadget widget ID. π That's your widget, right there, hold it gently.
π¦ RELATED π¦
the whole friend group, they all show up to the function π
that's the whole page bestie, you ate it π β¨
this one's from the XmVacreatep...uttongadget library call corner of the universe, dated whenever this manpage was last touched β and yeah, the footer was literally XmVaCreateP...uttonGadget(library call), so there you go, mystery solved, ily, bye ππ«Ά
π¦ 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