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

πŸ’– XmCreateMenuShell β€” the MenuShell widget creation function ✨

okay bestie, welcome to the XmCreateMenuShell page from the library call manual 🌸 this one is short, sweet, and honestly a little iconic. it's the girl whose whole job is making a MenuShell widget and handing you back its widget ID. no notes. πŸ’…


πŸ¦‹ SYNOPSIS

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

like… look at her. four args. no drama. πŸŽ€


✨ DESCRIPTION ✨

XmCreateMenuShell creates an instance of a MenuShell widget and returns the associated widget ID. that's the whole vibe. she makes one, she hands it to you, she moves on. main character energy fr fr πŸ‘‘

okay so here's what each arg is doing, one by one, no skipping:

  • parent β€” specifies the parent widget ID 🫢 this is who's adopting your new MenuShell.
  • name β€” specifies the name of the created widget. yes bestie, it needs a name. give it one.
  • arglist β€” specifies the argument list. this is where your attribute/value pairs live.
  • argcount β€” specifies the number of attribute/value pairs in the argument list (arglist). count them. actually count them. 😭
and if you want the complete definition of MenuShell and all its associated resources, you do NOT get it here β€” go read XmMenuShell(3). that's the deep lore. iykyk πŸ“š

🌈 RETURN

Returns the MenuShell widget ID. that's it. that's the gift. take it and go slay. πŸ’œ


  • XmMenuShell(3). β€” the sibling page, the one with the full definition. go say hi. 🌸

okay and for the cute sign-off: this whole page lives in the library call manual, and it signs itself XmCreateMenuShell(library call) at the bottom β€” no cap, that's literally all it says down there. short queen. periodt. πŸ’…βœ¨