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

πŸ’– XmVaCreateFrame β€” the library call that makes Frames, bestie πŸ’–

XmVaCreateFrame and its girl XmVaCreateManagedFrame are the library call era of the Frame widget β€” the convenience-creation duo you call when you want a Frame and you want it now. πŸŽ€


✨ NAME ✨

XmVaCreateFrame, XmVaCreateManagedFrame β€” the Frame widget convenience creation functions. Like, they exist purely to make your life easier. Iconic behaviour honestly. πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/Frame.h>

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

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

Yes bestie, that's the whole signature. No hidden extras. She's clean. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. These functions create an instance of a Frame widget and return the associated widget ID. That's the whole job. They do it, and they do it well. 🫢

Both routines use the ANSI C variable-length argument list (varargs) calling convention, so you can just keep passing stuff after name and it'll deal. iykyk.

  • XmVaCreateFrame β€” a convenience routine that calls XtCreateWidget. She's the unmanaged one, so you're gonna have to manage her yourself later, no cap.
  • XmVaCreateManagedFrame β€” a convenience routine that calls XtCreateManagedWidget. She shows up already managed. Main character energy fr fr.

Now the args, bestie, listen up:

  • parent β€” Specifies the parent widget ID. That's her mom. That's who she lives inside. πŸ’–
  • name β€” Specifies the name of the created widget. Give her a cute one. πŸŽ€
  • ... β€” Specifies the variable argument list to override the resource defaults. This is where you go feral and customise everything. ✨
For a complete definition of Frame and its associated resources, see XmFrame(3). Go read it, bestie, it's the lore. πŸ“–

πŸ‘‘ RETURN πŸ‘‘

Returns the Frame widget ID. That's it. That's the return. Hand it to you like a little gift. πŸ’


The whole squad, obviously:


And that's the page, babe πŸ’œ This was XmVaCreateFrame(library call) β€” same title on the way in and on the way out, no version drama, no date drama, just vibes. Now go forth and create Frames. Slay. βœ¨πŸ¦‹πŸ’