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

XmVaCreateMessageBox, XmVaCreateManagedMessageBox β€” a couple of MessageBox widget convenience creation functions, bestie. They live in the library-call section of the manual, and they are so handy. πŸŽ€


✨ SYNOPSIS ✨

#include <Xm/MessageB.h>

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

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

🌸 DESCRIPTION 🌸

okay so. These functions create an instance of a ToggleButtonGadget widget and returns the associated widget ID. (yes, "returns" β€” we are quoting the lore exactly, no cap, the grammar is doing its own thing and we respect it πŸ’…). These routines use the ANSI C variable-length argument list (varargs) calling convention.

The XmVaCreateMessageBox function is a convenience routine that calls XtCreateWidget.

The XmVaCreateMessageBox function is a convenience routine that calls XtCreateManagedWidget.

not me noticing the page says XmVaCreateMessageBox for both of those, bestie 😭 i am simply relaying the sacred text, i do not make the rules, i just live here πŸ™ˆ

Now the arguments, one by one, because you deserve the full rundown:

  • parent β€” Specifies the parent widget ID. like, who's your daddy widget, literally πŸ‘‘
  • name β€” Specifies the name of the created widget. give it a cute name fr fr πŸ¦‹
  • ... β€” Specifies the variable argument list to override the resource defaults. this is where you go feral and set all your faves 🌈

For a complete definition of MessageBox and its associated resources, see XmMessageBox(3). go read it, it's giving reference material ✨


🫢 RETURN 🫢

Returns the MessageBox widget ID. that's it, that's the whole vibe β€” you get an ID back, take it, slay πŸ’–


the whole friend group, all linked up, all iconic 🧚


and that's the page, bestie!! this one came to you straight out of the XmVaCreateMessageBox(library call) corner of the manual β€” that's the header up top and the footer down bottom, and the footer is just the name again with no extra version or date gossip attached, so there's literally nothing else to spill πŸ“ mwah, go build something gorgeous πŸ’…βœ¨