XMCREATESELECTIONBOX(3)
π XmCreateSelectionBox π
okay bestie, welcome to the XmCreateSelectionBox page from the library call manual β it's giving widget-creation energy and we're gonna get you fluent, fr fr π¦
β¨ NAME β¨
XmCreateSelectionBox β the SelectionBox widget creation function π
πΈ SYNOPSIS πΈ
#include <Xm/SelectioB.h>
Widget XmCreateSelectionBox(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);
π DESCRIPTION π
So XmCreateSelectionBox creates an unmanaged SelectionBox. Periodt. π
A SelectionBox is the whole vibe when you need to get a selection from a list of alternatives from the user, and it comes with all of this:
- A scrolling list of alternatives π
- An editable text field for the selected alternative βοΈ
- Labels for the list and text field π·οΈ
- Three or four buttons π
The default button labels are OK, Cancel, and Help. And by default, an Apply button is also created. Not me giving you four buttons when you only asked for three π
Now here's the management tea: if the parent of the SelectionBox is a DialogShell, it is managed; otherwise it is unmanaged. Additional work area children may be added to the SelectionBox after creation β yes, you can keep decorating, main character energy β¨
parentβ specifies the parent widget IDnameβ specifies the name of the created widgetarglistβ specifies the argument listargcountβ specifies the number of attribute/value pairs in the argument list (arglist)
For a complete definition of SelectionBox and its associated resources, see XmSelectionBox(3) β go read that one too, iykyk π
π₯ RETURN π₯
Returns the SelectionBox widget ID. that's it, that's the whole return, and honestly? iconic π«Ά
π RELATED π
and that's the whole page bestie!! this was XmCreateSelectionBox from the library call manual β no cap, you're gonna slay with this widget now πβ¨ππ¦πΈπ
π¦ 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