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

πŸ’– XmVaCreateArrowButton πŸ’–

okay so bestie, welcome to the XmVaCreateArrowButton page, part of the XmVaCreateArrowButton(library call) manual situation ✨. Two functions, one very cute job: they pop a whole ArrowButton widget into existence for you. Iconic behaviour fr.


✨ NAME ✨

XmVaCreateArrowButton, XmVaCreateManagedArrowButton β€” the ArrowButton widget convenience creation functions. that's it, that's the job πŸ’…


🌸 SYNOPSIS 🌸

#include <Xm/ArrowB.h>

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

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

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea πŸ«–: these functions create an instance of an ArrowButton widget and hand you back the widget ID that goes with it. And the way they do that is with the ANSI C variable-length argument list (varargs) calling convention. very demure, very varargs πŸ’œ

  • XmVaCreateArrowButton β€” this one is a convenience routine that calls XtCreateWidget. just a lil shortcut, no cap.
  • XmVaCreateManagedArrowButton β€” and this one is a convenience routine that calls XtCreateManagedWidget. managed!! main character energy πŸ‘‘

now the args, one by one:

  • parent β€” Specifies the parent widget ID. it's giving "who's your parent", answer it.
  • name β€” Specifies the name of the created widget. give the baby a name πŸŽ€
  • ... β€” Specifies the variable argument list to override the resource defaults. this is where you go feral with your overrides, lowkey.
if you want the complete definition of ArrowButton and all its associated resources, bestie, you gotta go read XmArrowButton(3). that's the real lore. πŸ“–

⭐ RETURN ⭐

Returns the ArrowButton widget ID. that's your prize, take it πŸ†



okay bestie that's the whole page!! and for the cute lil sign-off: this was served to you as XmVaCreateArrowButton(library call) β€” the same as the header up top, which is literally the whole source/version-and-date situation this page has going on. no fancy version number, no date, just vibes πŸ’€βœ¨ slay, go make some arrow buttons, i'm obsessed πŸ«ΆπŸ‘‘πŸŒΈ