XMVACREATEMANAGEDPUSHBUTTON(3)
β¨ XmVaCreatePushButton β a PushButton widget convenience creation function β¨
okay bestie, welcome to the XmVaCreatePushButton page π
it's a library call, it lives in the X/Motif corner of your system, and it's genuinely so chill. it makes PushButtons. that's the whole vibe. let's get into it π«Ά
πΈ NAME πΈ
XmVaCreatePushButton, XmVaCreateManagedPushButton β A PushButton widget convenience creation functions.
like... the name literally tells you what it is. convenience. iconic behavior honestly π
π SYNOPSIS π
#include <Xm/PushB.h>
Widget XmVaCreatePushButton(
Widget parent,
String name,
...);
Widget XmVaCreateManagedPushButton(
Widget parent,
String name,
...);
see how they match? twins fr fr π¦
π DESCRIPTION π
okay so these functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. yes, that's what the page says, and we're keeping it exactly as-is, no editing, no notes, periodt π These routines use the ANSI C variable-length argument list (varargs) calling convention β which is just the fancy way of saying "you can keep passing stuff after name and it'll deal with it" β¨
The XmVaCreatePushButton function is a convenience routine that calls XtCreateWidget.
The XmVaCreatePushButton function is a convenience routine that calls XtCreateManagedWidget.
not me reading that twice... the page says XmVaCreatePushButton both times and we are not touching a single character of it, bestie, that's the rules π
Now the args, one by one, no skipping π
parentβ Specifies the parent widget ID.nameβ Specifies the name of the created widget....β Specifies the variable argument list to override the resource defaults.
For a complete definition of PushButton and its associated resources, see XmPushButton(3). go read it, it's giving main character energy π
π RETURN π
Returns the PushButton widget ID. that's it. that's the tea π hold onto it, you'll need it.
π RELATED π
the whole friend group, together at last π«Άβ¨
and that's the page, bestie!! this was XmVaCreatePushButton(library call) β library call, mwah π
β brought to you from the source/version and date that sit right there at the bottom of the original, and we're sending them off with a lil kiss π go make some buttons, you're gonna slay πππ₯
π¦ 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