XMVACREATEMANAGEDCASCADEBUTTONGADGET(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 ✨

  • XmVaCreateCascadeButtonGadget is a convenience routine that calls XtCreateWidget.
  • XmVaCreateManagedCascadeButtonGadget is a convenience routine that calls XtCreateManagedWidget.

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 of CascadeButtonGadget and its associated resources, go look at XmCascadeButtonGadget(3). iykyk, the lore is all in there πŸ“–

πŸ”₯ RETURN πŸ”₯

returns the CascadeButtonGadget widget ID. that's it, that's the whole answer, slay πŸ‘‘



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 πŸŽ€βœ¨πŸ’