XMVACREATESCALE(3)
π XmVaCreateScale β the library call, bestie edition π
okay so this is a page from the <rainbow>library call</rainbow> manual β like, the library call section, that's the manual name, it's literally in the header. And we're talking about XmVaCreateScale and XmVaCreateManagedScale, which are the Scale widget convenience creation functions. cute, right? let's get into it π
β¨ NAME β¨
XmVaCreateScale, XmVaCreateManagedScale β A Scale widget convenience creation functions.
(yes, "a ... functions", the grammar is giving chaos but we're not touching it, that's the name π )
πΈ SYNOPSIS πΈ
#include <Xm/Scale.h>
Widget XmVaCreateScale(
Widget parent,
String name,
...);
Widget XmVaCreateManagedScale(
Widget parent,
String name,
...);
π¦ DESCRIPTION π¦
okay so listen. These functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. (yes, that's what the page says. ToggleButtonGadget. on the Scale page. I'm just the messenger bestie π) These routines use the ANSI C variable-length argument list (varargs) calling convention β so, varargs girlies, this is your moment β¨
The XmVaCreateScale function is a convenience routine that calls XtCreateWidget.
The XmVaCreateScale function is a convenience routine that calls XtCreateManagedWidget.
π¨ not me noticing both of those say XmVaCreateScale β that's exactly what the original says, character for character, so I'm keeping it. Do not perceive me. Do not correct me. I'm preserving the vibes and the facts π
Now the arguments, one by one, no skipping, we don't do that here:
parentβ Specifies the parent widget ID. that's the widget that adopts your new baby scale π«Άnameβ Specifies the name of the created widget. name your creation, main character energy π...β Specifies the variable argument list to override the resource defaults. this is where you go feral with your customizations β¨
For a complete definition of Scale and its associated resources, see XmScale(3).
π RETURN π
Returns the Scale widget ID. that's it. that's the whole thing. a whole widget ID, just for you π
π RELATED π
and that's the page!! π sign-off time: this little beauty lives in the XmVaCreateScale(library call) manual β source and version vibes straight from that footer line, and the date? the footer didn't give me one, so we're rolling with timeless icon behavior β no cap, that's genuinely all the footer had. 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