XMVACREATEMANAGEDLIST(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 ✨

XmVaCreateList, XmVaCreateManagedList β€” a couple of ✨convenience✨ creation functions for the List widget, bestie. They're literally just here to make your life easier πŸ’–


🌸 SYNOPSIS 🌸

#include <Xm/List.h>

Widget XmVaCreateList(
Widget parent,
String name,
...);

Widget XmVaCreateManagedList(
Widget parent,
String name,
...);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. these two functions are the "just make me a List widget, i'm busy" girlies. they spin up an instance of a List widget and hand you back the widget ID that goes with it 🫢 and the way they take their arguments? ANSI C variable-length argument list (varargs) calling convention. yes ma'am, varargs. iykyk πŸ’…

  • XmVaCreateList β€” the convenience routine that calls XtCreateWidget. she's the standard-issue one, no extra drama.
  • XmVaCreateManagedList β€” the convenience routine that calls XtCreateManagedWidget. same energy, but managed, so the geometry girlies handle her for you ✨

and here's what the args mean, no gatekeeping:

  • parent β€” specifies the parent widget ID. your widget's mom, basically πŸ‘‘
  • name β€” specifies the name of the created widget. name her something cute πŸŽ€
  • ... β€” specifies the variable argument list to override the resource defaults. this is where you get to be the main character and customize πŸ”₯
if you want the full tea on List and every single resource attached to it, go read XmList(3). no cap, it's all there.

πŸ’œ RETURN πŸ’œ

returns the List widget ID. that's it. that's the return value. slay πŸ’…


go read those too, bestie, they're part of the lore πŸ“š


okay that's the whole page, mwah πŸ’– this came from the XmVaCreateList(library call) manual, so that's the source + version vibe, and that's the sign-off. periodt βœ¨πŸ¦‹