XMVACREATEMANAGEDSPINBOX(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 ✨

XmVaCreateSpinBox, XmVaCreateManagedSpinBox β€” bestie, these are the SpinBox widget convenience creation functions. That's it, that's the gig πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/SpinB.h>

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

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so these functions create an instance of a ToggleButtonGadget widget and hand you back the associated widget ID 🫢. They roll with the ANSI C variable-length argument list (varargs) calling convention, iykyk.

The XmVaCreateSpinBox function is a convenience routine that calls XtCreateWidget.

The XmVaCreateSpinBox function is a convenience routine that calls XtCreateManagedWidget.

not me noticing the page says XmVaCreateSpinBox twice 😭 we're just relaying it exactly as written, no cap, no editing, we don't make the rules here πŸ’€

Here's the rundown on the args, babes:

  • 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 SpinBox and its associated resources, go peek at XmSpinBox(3) πŸ’œ


🌈 RETURN 🌈

Returns the SpinBox widget ID. periodt. πŸ“



and that's the whole page, bestie β€” sending you off with the classic footer energy: XmVaCreateSpinBox(library call), a library call page, and the date tag riding along right there at the bottom 🫢✨