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

XmVaCreateNotebook, XmVaCreateManagedNotebook β€” bestie, these are the Notebook widget convenience creation functions, and they are lowkey the easiest way to get a Notebook into the world πŸŽ€


✨ SYNOPSIS ✨

#include <Xm/Notebook.h>

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

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, the way that these functions work is: they create an instance of a ToggleButtonGadget widget and hand you back the associated widget ID. that's it, that's the whole vibe. 🫢

These routines use the ANSI C variable-length argument list (varargs) calling convention β€” so yes, the ... is doing real work, not just being decorative πŸ’…

XmVaCreateNotebook is a convenience routine that calls XtCreateWidget.

XmVaCreateNotebook is a convenience routine that calls XtCreateManagedWidget.

not me noticing the page says XmVaCreateNotebook twice there πŸ™ˆ we are simply reporting what the page says, no edits, no notes, periodt.

Here's what the arguments are giving:

  • parent β€” Specifies the parent widget ID. πŸ‘‘
  • name β€” Specifies the name of the created widget.
  • ... β€” Specifies the variable argument list to override the resource defaults. (go off, override those defaults ✨)

For a complete definition of Notebook and its associated resources, see XmNotebook(3). 🌸


🌈 RETURN 🌈

Returns the Notebook widget ID. slay, you get a widget πŸ’–



and that's the whole page, bestie πŸ¦‹ this was XmVaCreateNotebook(library call) β€” the library call page, signed off by the same name at the bottom, no date stamp in sight, just vibes. go create some widgets, you've got this πŸ’œπŸ‘‘