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

✨ XmVaCreateOutline β€” the Outline widget glow-up functions ✨

okay bestie, we're in the <Xm/Outline.h> cinematic universe, this is a library call from the Motif fam, and it's literally just two lil convenience functions that make an Outline widget for you. no cap. πŸ’…


🌸 NAME 🌸

XmVaCreateOutline, XmVaCreateManagedOutline β€” the Outline widget convenience creation functions. they're giving "let me handle the boilerplate so you don't have to." 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Xm/Outline.h>

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

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

πŸ’– DESCRIPTION πŸ’–

so the way that these work is: they create an instance of an Outline widget and hand you back the associated widget ID. cute, simple, iconic. ✨

both of them use the ANSI C variable-length argument list (varargs) calling convention, so you can just keep tacking on resource/value pairs until you're done. it's giving "no fixed arity, only vibes." πŸŽ€

  • XmVaCreateOutline β€” this one is a convenience routine that calls XtCreateWidget. it makes the widget but does not manage it, so you have to manage it yourself later (iykyk).
  • XmVaCreateManagedOutline β€” this one is a convenience routine that calls XtCreateManagedWidget. it makes the widget and manages it in one go. main character energy, truly. πŸ‘‘

now the args, bestie:

  • parent β€” specifies the parent widget ID. it's the widget that's gonna adopt your new Outline. πŸͺΊ
  • name β€” specifies the name of the created widget. yes, the name. give it a good one.
  • ... β€” specifies the variable argument list to override the resource defaults. this is where you get to be picky about literally everything. πŸ’…
for a complete definition of Outline and its associated resources, go read XmOutline(3). that's the lore page. πŸ“–

🌈 RETURN 🌈

returns the Outline widget ID. that's it, that's the whole return. iconic behavior honestly. 🫢


the whole friend group, fr fr:


and that's the page, bestie!! this was XmVaCreateOutline(library call) β€” a library call, published by the Xm source, and yeah the header and footer are literally the same string so you're not missing any secret date, that's just how it is. go make some widgets. mwah. πŸ’–βœ¨πŸŽ€πŸ¦‹