XMVACREATEMANAGEDSELECTIONBOX(3)
π XmVaCreateSelectionBox β the vibe β¨
okay so bestie, we're in the XmVaCreateSelectionBox(library call) part of the manual, and lemme tell you, this one is short, sweet, and honestly kinda iconic. Two functions, both here to hand you a SelectionBox without you having to do the whole song and dance yourself. π
πΈ NAME πΈ
XmVaCreateSelectionBox, XmVaCreateManagedSelectionBox β A SelectionBox widget convenience creation functions.
(yeah, grammar said "a ... functions", we don't fix the man page, we respect the man page π«Ά)
β¨ SYNOPSIS β¨
#include <Xm/SelectioB.h>
Widget XmVaCreateSelectionBox(
Widget parent,
String name,
...);
Widget XmVaCreateManagedSelectionBox(
Widget parent,
String name,
...);
like, that's it. that's the whole entrance. π
π DESCRIPTION π
okay so here's the tea. These functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. (yes, it says ToggleButtonGadget, and yes it says "returns" β we are reading the man page, not editing it, bestie π)
These routines use the ANSI C variable-length argument list (varargs) calling convention. so you just keep passing stuff until you're done. very free-spirited of them honestly.
- The
XmVaCreateSelectionBoxfunction is a convenience routine that callsXtCreateWidget. - The
XmVaCreateSelectionBoxfunction is a convenience routine that callsXtCreateManagedWidget.
not me pointing out that the docs literally sayXmVaCreateSelectionBoxtwice up there π the second one is almost certainly aboutXmVaCreateManagedSelectionBox, but I'm just the messenger and I'm keeping it exactly as written. no cap.
π¦ the arguments, one by one π¦
parentβ Specifies the parent widget ID. it's giving "who's your mom" energy, and that's the widget you hand over here. πnameβ Specifies the name of the created widget. give your baby a name, she deserves one. πΈ...β Specifies the variable argument list to override the resource defaults. this is your moment to customize, go off. β¨
For a complete definition of SelectionBox and its associated resources, see XmSelectionBox(3). (that's the real deep-lore page, go read it when you're ready π)
π₯ RETURN π₯
Returns the SelectionBox widget ID.
that's it. that's the whole gift. you asked, she delivered. slay. π
π RELATED π
the whole friend group fr fr. go say hi. π«Ά
and that's a wrap on XmVaCreateSelectionBox(library call) β genuinely one of the shortest little man pages out here and lowkey obsessed with her for it. πβ¨π
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms