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

πŸ’– XmVaCreateTextField β€” NAME ✨

XmVaCreateTextField, XmVaCreateManagedTextField β€” a couple of TextField widget convenience creation functions. Yes bestie, the manual name is library call, and this whole page is them. πŸŽ€


🌸 SYNOPSIS 🌸

#include <Xm/TextF.h>

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

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

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so these functions create an instance of a ToggleButtonGadget widget and return the widget ID that comes with it. πŸ‘‘ They do this using the ANSI C variable-length argument list (varargs) calling convention β€” that's the ... in the synopsis, she's doing a lot of work fr fr.

The XmVaCreateTextField function is a convenience routine that calls XtCreateWidget.

The XmVaCreateTextField function is a convenience routine that calls XtCreateManagedWidget.

not me reading that twice β€” yes, the page literally says XmVaCreateTextField both times, so I'm telling you exactly what it says. πŸ’€ no edits, no guessing, we report and we move.

Here's what the arguments are giving:

  • parent β€” specifies the parent widget ID. it's the one holding the whole situation together 🫢
  • 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. that's where you go feral with the resources ✨

For a complete definition of TextField and its associated resources, see XmTextField(3). go read her, she's iconic.


⭐ RETURN ⭐

Returns the TextField widget ID. that's it, that's the whole return. slay. πŸ’œ


the whole friend group, periodt. πŸ”₯


and that's the page, bestie 🧚 the footer says XmVaCreateTextField(library call) β€” same as the top, no extra source, no version, no date, just that little library call tag holding it down. no cap, we covered every last one of the facts. πŸŽ€πŸ’–