XMVACREATEMANAGEDSCALE(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

πŸ’– 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 πŸ’–



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. πŸ’…βœ¨