XMVACREATESIMPLESPINBOX(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 πŸŽ€

XmVaCreateSimpleSpinBox, XmVaCreateManagedSimpleSpinBox β€” the SimpleSpinBox widget convenience creation functions, and bestie they are literally so convenient πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/SSpinB.h>

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

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. These functions create an instance of a ToggleButtonGadget widget and return the associated widget ID. that's the whole assignment, no notes. ✨

These routines use the ANSI C variable-length argument list (varargs) calling convention β€” so yes, the ... is doing main character work here, iykyk. 🫢

  • XmVaCreateSimpleSpinBox β€” a convenience routine that calls XtCreateWidget. it's giving lowkey unmanaged energy πŸ’€
  • XmVaCreateSimpleSpinBox β€” a convenience routine that calls XtCreateManagedWidget. and yes bestie, the page really does say XmVaCreateSimpleSpinBox again right here instead of the managed one β€” I am not the one who wrote it, I'm just the messenger πŸ™ˆ

now the arguments, because we do read the fine print:

  • parent β€” specifies the parent widget ID. your widget's mom, basically.
  • name β€” specifies the name of the created widget. name her something cute, she deserves it πŸŽ€
  • ... β€” specifies the variable argument list to override the resource defaults. this is where you go feral with the customization, no cap.

For a complete definition of SimpleSpinBox and its associated resources, see XmSimpleSpinBox(3). go read it, it's iconic, I promise. πŸ“–


πŸ’œ RETURN πŸ’œ

Returns the SimpleSpinBox widget ID. that's it. that's the tea. πŸ“


XmSimpleSpinBox(3), XmCreateSimpleSpinBox(3), XtCreateWidget(3), and XtCreateManagedWidget(3).

the whole friend group, all linked up, all worth a follow. 🌈


and that's the page, bestie β€” it signs off the way it came in, with the same little footer line XmVaCreateSimpleSpinBox(library call), no date, no version, just the name doing a little curtsy on the way out. πŸ’–πŸŒΈβœ¨