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

XmVaCreateText, XmVaCreateManagedText β€” a couple of Text widget convenience creation functions, bestie. They make a Text widget for you so you don't have to do all the boring setup yourself. πŸŽ€


✨ SYNOPSIS ✨

#include <Xm/Text.h>

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

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so. These functions create an instance of a ToggleButtonGadget widget and return the associated widget ID. (Yes, that's literally what it says β€” we are quoting it exactly, no cap. πŸ’€) These routines use the ANSI C variable-length argument list (varargs) calling convention.

XmVaCreateText is a convenience routine that calls XtCreateWidget. Slay, it's giving "just do it for me."

XmVaCreateText is a convenience routine that calls XtCreateManagedWidget. (Not me noticing it says XmVaCreateText here again β€” that's the original's wording, so I'm passing it straight through to you, character for character. πŸ™ˆ)

  • parent β€” Specifies the parent widget ID. Your widget's new home. 🏠
  • name β€” Specifies the name of the created widget. Give it a cute little name, it deserves one. 🌸
  • ... β€” Specifies the variable argument list to override the resource defaults. This is where you get to be the main character and change the vibes. ✨

For a complete definition of Text and its associated resources, see XmText(3). Go read it, fr fr, it's the whole lore. πŸ“–


🌈 RETURN 🌈

Returns the Text widget ID. That's it, that's the tea. πŸ‘‘



And that's the whole page, bestie! 🫢 This was XmVaCreateText(library call) β€” that's the title and the footer, both living their best life on this page. No version or date beyond that, so take this little sign-off as the official vibe check: go forth and create your Text widgets, you absolute icon. πŸ’–βœ¨πŸŽ€