XMVACREATECASCADEBUTTONGADGET(3)
π XmVaCreateCascadeButtonGadget β the manual page π
okay bestie, you're in the XmVaCreate...uttonGadget(library call) section of the manual, and yes that title is a whole vibe of its own π
β¨ NAME β¨
XmVaCreateCascadeButtonGadget, XmVaCreateManagedCascadeButtonGadget β these are the CascadeButtonGadget widget convenience creation functions. literally what they say on the tin, they make widgets for you π«Ά
πΈ SYNOPSIS πΈ
#include <Xm/CascadeBG.h>
Widget XmVaCreateCascadeButtonGadget(
Widget parent,
String name,
...);
Widget XmVaCreateManagedCascadeButtonGadget(
Widget parent,
String name,
...);
π DESCRIPTION π
so these functions create an instance of a CascadeButtonGadget widget and return the associated widget ID. the way they do it is with the ANSI C variable-length argument list (varargs) calling convention. periodt β¨
XmVaCreateCascadeButtonGadgetis a convenience routine that callsXtCreateWidget.XmVaCreateManagedCascadeButtonGadgetis a convenience routine that callsXtCreateManagedWidget.
now the args, bestie, don't skip them π§
parentβ specifies the parent widget ID. that's who's adopting this lil gadget πnameβ specifies the name of the created widget. it needs a name, everybody does π...β specifies the variable argument list to override the resource defaults. this is where you get to be the main character and customize π
for a complete definition ofCascadeButtonGadgetand its associated resources, go look atXmCascadeButtonGadget(3). iykyk, the lore is all in there π
π₯ RETURN π₯
returns the CascadeButtonGadget widget ID. that's it, that's the whole answer, slay π
π¦ RELATED π¦
and that's the whole page, no cap π this lil section lives under XmVaCreate...uttonGadget(library call) β go read the siblings when you're done here, they're iconic too πβ¨π
π¦ 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