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

πŸ’– XmCreateDrawnButton πŸ’–

okay so bestie, this is a library call manual page, and the star of the show is XmCreateDrawnButton β€” the DrawnButton widget creation function. no cap, it's giving widget-maker energy. πŸ¦‹


πŸŽ€ NAME πŸŽ€

XmCreateDrawnButton β€” the DrawnButton widget creation function. periodt.

✨ SYNOPSIS ✨

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

🌸 DESCRIPTION 🌸

okay so XmCreateDrawnButton does exactly what it says on the tin: it creates an instance of a DrawnButton widget and returns the associated widget ID. main character behavior, honestly.

Here's the rundown on the arguments, bestie:

  • parent β€” specifies the parent widget ID. it's the chosen family, the widget that's holding it down. 🫢
  • name β€” specifies the name of the created widget. give it a name, it's iconic.
  • arglist β€” specifies the argument list. this is where you pass your attribute/value pairs, iykyk.
  • argcount β€” specifies the number of attribute/value pairs in the argument list (arglist). count them, bestie, don't guess.

For a complete definition of DrawnButton and its associated resources, see XmDrawnButton(3). fr fr, that's the deep dive.

πŸ’… RETURN πŸ’…

Returns the DrawnButton widget ID. slay. that's your new widget's ID, go off.

XmDrawnButton(3).


That's the whole page, bestie β€” XmCreateDrawnButton, library call, and no date stamp on this one, so we're not inventing one. πŸ’–βœ¨