XMVACREATECOLORSELECTOR(3)
π XmVaCreateColorSelector β the ColorSelector widget creation glow-up π
okay bestie, so you want a ColorSelector widget and you want it fast? this is the convenience-creation duo, straight out of the <Xm/ColorS.h> cinematic universe, and it's giving "I don't have time to spell out every single resource by hand" energy. β¨
πΈ SYNOPSIS πΈ
#include <Xm/ColorS.h>
Widget XmVaCreateColorSelector(
Widget parent,
String name,
...);
Widget XmVaCreateManagedColorSelector(
Widget parent,
String name,
...);
π DESCRIPTION π
so these functions do the thing: they create an instance of a ColorSelector widget and hand you back the widget ID it got assigned. π«Ά and the way they take their arguments? it's the ANSI C variable-length argument list (varargs) calling convention. very demure, very varargs. π
XmVaCreateColorSelector is the convenience routine that calls XtCreateWidget. no cap.
XmVaCreatemanagedColorSelector is the convenience routine that calls XtCreateManagedWidget. iconic.
now for the args, bestie, let's go one by one:
- parent β specifies the parent widget ID. every widget needs a home. π
- name β specifies the name of the created widget. name her, she deserves it. π
- ... β specifies the variable argument list to override the resource defaults. this is where you get to be extra. π
for the complete definition of ColorSelector and its associated resources, go read XmColorSelector(3). seriously. the lore is there. π
β RETURN β
returns the ColorSelector widget ID. that's it, that's the gift. π
π¦ RELATED π¦
XmColorSelector(3)XmCreateColorSelector(3)XtCreateWidget(3)XtCreateManagedWidget(3)
okay that's the whole page, no notes. this one's from the XmVaCreateColorSelector(library call) source, and yeah, the same title shows up at the bottom too β it's a whole full-circle moment. periodt. ππ§
π¦ 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