XMVACREATECASCADEBUTTON(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

✨ NAME ✨

Bestie, welcome to XmVaCreateCascadeButton and XmVaCreateManagedCascadeButton β€” the CascadeButton widget convenience creation functions πŸ’… (yes that's the whole name, it's giving "long title, big energy"). We're deep in library call territory, so buckle up πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Xm/CascadeB.h>

Widget XmVaCreateCascadeButton(
Widget parent,
String name,
...);

Widget XmVaCreateManagedCascadeButton(
Widget parent,
String name,
...);

🌸 DESCRIPTION 🌸

Okay so here's the tea β˜• β€” these functions create an instance of a CascadeButton widget and return the associated widget ID. And the way they do it?? They use the ANSI C variable-length argument list (varargs) calling convention. Fr fr, that's the whole mechanism.

XmVaCreateCascadeButton is the convenience routine that calls XtCreateWidget. Lowkey just a lil shortcut, no cap.

XmVaCreateManagedCascadeButton is the convenience routine that calls XtCreateManagedWidget. Same vibe, managed edition πŸ‘‘

Here's the parameters, bestie, don't skip them:

  • parent β€” specifies the parent widget ID. Your widget's mom, basically 🫢
  • name β€” specifies the name of the created widget. Name her, she deserves it πŸ’–
  • ... β€” specifies the variable argument list to override the resource defaults. Go off, customize it ✨

For a complete definition of CascadeButton and its associated resources, see XmCascadeButton(3). iykyk πŸ“–


🌈 RETURN 🌈

Returns the CascadeButton widget ID. That's it. That's the return. Iconic behavior honestly πŸ’…


The whole friend group, assembled 🫢✨


And that's a wrap on the XmVaCreateCascadeButton(library call) page, bestie β€” courtesy of your local library call manual, XmVaCreateCascadeButton(library call) energy all the way through πŸŽ€πŸ’œ