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

XmCreateArrowButtonGadget β€” bestie, it's literally The ArrowButtonGadget creation function. That's it, that's the whole job, and she does it flawlessly. πŸ‘‘


✨ SYNOPSIS ✨

Okay so first you gotta tell the compiler you're in on the lore:

#include <Xm/ArrowBG.h>
Widget XmCreateArrowButtonGadget(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);

Look at that signature. Gorgeous. No notes. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

So XmCreateArrowButtonGadget creates an instance of an ArrowButtonGadget widget and hands you back the associated widget ID. It's giving ✨factory function✨, it's giving main character energy, and it's not even sorry. πŸ’…

Here's the tea on every single argument, no gatekeeping:

  • parent β€” Specifies the parent widget ID. Yes bestie, your little arrow gadget needs a home, this is who's adopting it. 🫢
  • name β€” Specifies the name of the created widget. That's the name, bestie. Give it one. πŸ’–
  • arglist β€” Specifies the argument list. This is your bag of attribute/value pairs, your little goodie bag of vibes. 🌸
  • argcount β€” Specifies the number of attribute/value pairs in the argument list (arglist). Count them fr fr, the widget is trusting you on this one. πŸ”’
And for a complete definition of ArrowButtonGadget and its associated resources, see XmArrowButtonGadget(3). That's where the full lore lives, go read it, I'll wait. 😌

🌈 RETURN 🌈

Returns the ArrowButtonGadget widget ID. That's your new baby's ID, cherish it, keep it safe, use it to talk to the widget later. πŸ₯Ή



Okay that's the whole page bestie, you ate that, go build something iconic with it. πŸ’œ

This one came straight out of the library call section of the manual β€” XmCreateArrowButtonGadget(library call), that's the source tag, that's the flex. Byeee, ily, go make widgets. πŸ¦‹βœ¨πŸŽ€