XMVACREATESCROLLBAR(3)
β¨ XmVaCreateScrollBar β NAME β¨
okay bestie, gather round π these are the ScrollBar widget convenience creation functions, and yes that's the whole vibe: XmVaCreateScrollBar, XmVaCreateManagedScrollBar. two little icon functions that make you a ScrollBar and hand you its widget ID like it's your iced coffee π§
π¦ SYNOPSIS π¦
#include <Xm/ScrollBar.h>
Widget XmVaCreateScrollBar(
Widget parent,
String name,
...);
Widget XmVaCreateManagedScrollBar(
Widget parent,
String name,
...);
like. look at that signature. it's giving varargs main character energy π
πΈ DESCRIPTION πΈ
so these functions create an instance of a ToggleButtonGadget widget and return the associated widget ID. no cap, that's literally the job π«Ά
and the way they do it? these routines use the ANSI C variable-length argument list (varargs) calling convention. so you just keep yeeting arguments in and the function catches them β¨
okay so the two functions, one at a time:
- the
XmVaCreateScrollBarfunction is a convenience routine that callsXtCreateWidget. iconic, lowkey the straightforward one. - the
XmVaCreateScrollBarfunction is a convenience routine that callsXtCreateManagedWidget. periodt π
ngl bestie, yes β the manpage really does say XmVaCreateScrollBar both times up there. I'm not fixing it, I'm not merging it, I'm just reporting the lore fr fr π
now the arguments, because you need to know what you're feeding these babies:
parentβ Specifies the parent widget ID. basically who's adopting this widget π₯Ίnameβ Specifies the name of the created widget. give it a cute one, it deserves it π...β Specifies the variable argument list to override the resource defaults. this is where you go feral with customization π₯
and for a complete definition of ScrollBar and its associated resources, see XmScrollBar(3). go read it, it's got the whole lore π
π RETURN π
Returns the ScrollBar widget ID. that's it, that's the gift π catch it, bestie.
π RELATED π
the whole friend group, fr fr:
and that's the page!! this beauty is XmVaCreateScrollBar(library call) β she's a library call girlie, and she was written down in the books, so if you ever forget her you know exactly where to look π¦β¨
okay love u, go create some scrollbars, mwah πππ§
π¦ 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