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

πŸ’– XmVaCreateContainer β€” a Container widget creation moment πŸ’–

okay bestie, welcome to XmVaCreateContainer(3) from the library call section, no big deal, just your new fave convenience creation functions for the Container widget. pull up a chair, we're doing varargs πŸ’…


✨ NAME ✨

XmVaCreateContainer, XmVaCreateManagedContainer β€” A Container widget convenience creation functions.

like... they make Containers. for you. so you don't have to. πŸŽ€


🌸 SYNOPSIS 🌸

#include <Xm/Container.h>

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

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

yes the indentation is giving "I was written in 1994 and I'm thriving" and honestly? iconic. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

So these functions create an instance of a Container widget and hand you back the associated widget ID. cute, right? 🫢 They use the ANSI C variable-length argument list (varargs) calling convention β€” that's the ... you saw up there, it's not being mysterious, it's just taking however many arguments you feel like throwing at it.

  • The XmVaCreateContainer function is a convenience routine that calls XtCreateWidget.
  • The XmVaCreatemanagedContainer function is a convenience routine that calls XtCreateManagedWidget.

(not me typing XmVaCreatemanagedContainer with the lowercase m β€” that's literally how it's written in the source, so we're keeping it fr fr πŸ™ˆ)

🧚 the arguments, bestie 🧚

  • parent β€” Specifies the parent widget ID. aka who's your daddy widget. πŸ’€
  • name β€” Specifies the name of the created widget. give it a name, it deserves one, main character energy only. ✨
  • ... β€” Specifies the variable argument list to override the resource defaults. this is your moment to be extra, go off. πŸ”₯
For a complete definition of Container and its associated resources, see XmContainer(3). seriously, go read it, I'll wait. 😌

⭐ RETURN ⭐

Returns the Container widget ID.

that's it. that's the whole return. a little ID. your little ID. cherish it. πŸ₯Ή


the whole friend group. the squad. iykyk. πŸ’œ


and that's the page!! the footer said XmVaCreateContainer(library call) and, like, that's genuinely all it gave us for source/version and date info β€” no date, no version number, nothing, so I'm just gonna say: this is the library call manual page for XmVaCreateContainer, and if you need the exact version and date, bestie, it's whatever your system shipped with it. πŸ’–βœ¨πŸŽ€ bye, go make a Container, you're gonna slay πŸ¦‹