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

✨ NAME ✨

XmCreateScale β€” the Scale widget creation function, aka the little glow-up button that makes a whole Scale widget appear out of thin air πŸ’– this is from the XmCreateScale(library call) manual, bestie, and yes we're reading the whole thing together 🫢


🌸 SYNOPSIS 🌸

#include <Xm/Scale.h>
Widget XmCreateScale(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);

Like… that's it. Four little arguments between you and a slider. Slay ✨


πŸ’… DESCRIPTION πŸ’…

okay so, XmCreateScale creates an instance of a Scale widget and hands you back the associated widget ID. That's the whole vibe. You give it a parent, a name, your args, and boom β€” new widget, main character energy πŸ‘‘

Here's who's who in the function signature:

  • parent β€” Specifies the parent widget ID. Like, whose child is this gonna be? That one. The parent is giving "I'm the one paying rent" energy 🏠
  • name β€” Specifies the name of the created widget. Give it a cute name, it deserves one πŸŽ€
  • arglist β€” Specifies the argument list. All your attribute/value pairs go here.
  • argcount β€” Specifies the number of attribute/value pairs in the argument list (arglist). yes bestie, you literally have to count them yourself, no cap πŸ’€

For a complete definition of Scale and its associated resources, see XmScale(3). (Go read it. It's lowkey iconic. Iykyk πŸ“–)


πŸ¦‹ RETURN πŸ¦‹

Returns the Scale widget ID. That's it, that's the whole return. A whole widget ID just for you 🌈



and that's the page!! πŸŒΈπŸ¦‹πŸ’œ this was XmCreateScale(library call), and the footer said the same thing β€” XmCreateScale(library call) β€” so consider this your cute little sign-off, bestie. go make some scales, you're gonna ate πŸ’…βœ¨