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

XmVaCreateFileSelectionBox, XmVaCreateManagedFileSelectionBox β€” a couple of FileSelectionBox widget convenience creation functions, bestie. That's the whole vibe. πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/FileSB.h>

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

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

πŸ’– DESCRIPTION πŸ’–

okay so these functions do one thing and they do it well: they create an instance of a FileSelectionBox widget and hand you back the associated widget ID. iconic behavior honestly. ✨

Both of these routines use the ANSI C variable-length argument list (varargs) calling convention β€” so yes, the ... is doing real work, it's not just there for decoration. πŸŽ€

  • XmVaCreateFileSelectionBox β€” a convenience routine that calls XtCreateWidget. lowkey the straightforward one. πŸ¦‹
  • XmVaCreateManagedFileSelectionBox β€” a convenience routine that calls XtCreateManagedWidget. she comes pre-managed, no extra steps. πŸ‘‘

Now the arguments, because we don't gatekeep:

  • parent β€” specifies the parent widget ID. aka who's adopting this widget. 🫢
  • name β€” specifies the name of the created widget. give her a name, she deserves one. 🌸
  • ... β€” specifies the variable argument list to override the resource defaults. this is your moment to customize. 🌈

For a complete definition of FileSelectionBox and its associated resources, go read XmFileSelectionBox(3). fr fr, that's where the full lore lives. πŸ“–


⭐ RETURN ⭐

Returns the FileSelectionBox widget ID. that's it, that's the return value, no plot twist. πŸ’€


go read the whole family, they're all slaying in their own way. 🧚


and that's a wrap on the XmVaCreateF...electionBox(library call) page β€” she's a library call man page, short, sweet, and exactly as the good people of the X/Motif docs intended. mwah, bye bestie πŸ’œ