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

XmVaCreateTabStack, XmVaCreateManagedTabStack β€” a TabStack widget convenience creation functions. ✨

Yep bestie, two lil functions, one whole job: making you a TabStack without you having to do all the heavy lifting yourself. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Xm/TabStack.h>

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

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

Lowkey the whole flex is right there β€” parent, name, and then ... doing the most. 🫢


🌸 DESCRIPTION 🌸

Okay so these functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. πŸ‘‘ (Yep, that's exactly what the page says, we're reading it together, no notes. 😭) These routines use the ANSI C variable-length argument list (varargs) calling convention.

The XmVaCreateTabStack function is a convenience routine that calls XtCreateWidget.

The XmVaCreateTabStack function is a convenience routine that calls XtCreateManagedWidget.

Not me reading that twice πŸ’€ β€” the page lists XmVaCreateTabStack for both lines, so that's what we're telling you, fr fr. Copying it exactly, no cap. πŸ™ˆ

Here's what each of those arguments is giving, one by one:

  • parent β€” specifies the parent widget ID. That's the widget that's gonna adopt your brand new baby. 🍼
  • name β€” specifies the name of the created widget. Name her, bestie, she deserves it. πŸ’…
  • ... β€” specifies the variable argument list to override the resource defaults. This is your ✨customization era✨.

For a complete definition of TabStack and its associated resources, see XmTabStack(3).


⭐ RETURN ⭐

Returns the TabStack widget ID. πŸŽ€ That's it, that's the gift. Take it, she's yours now.


The girlies and guys and them in the same friend group:


Mwah πŸ’‹ β€” that's the whole page, signed off from the library call manual, where XmVaCreateTabStack lives rent free. No date on this one, she's timeless. πŸ’…βœ¨πŸ¦‹