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

πŸ’– XmCreateSelectionBox πŸ’–

okay bestie, welcome to the XmCreateSelectionBox page from the library call manual β€” it's giving widget-creation energy and we're gonna get you fluent, fr fr πŸ¦‹


✨ NAME ✨

XmCreateSelectionBox β€” the SelectionBox widget creation function πŸ‘‘


🌸 SYNOPSIS 🌸

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

πŸŽ€ DESCRIPTION πŸŽ€

So XmCreateSelectionBox creates an unmanaged SelectionBox. Periodt. πŸ’…

A SelectionBox is the whole vibe when you need to get a selection from a list of alternatives from the user, and it comes with all of this:

  • A scrolling list of alternatives πŸ“œ
  • An editable text field for the selected alternative ✍️
  • Labels for the list and text field 🏷️
  • Three or four buttons πŸ”˜

The default button labels are OK, Cancel, and Help. And by default, an Apply button is also created. Not me giving you four buttons when you only asked for three πŸ™ˆ

Now here's the management tea: if the parent of the SelectionBox is a DialogShell, it is managed; otherwise it is unmanaged. Additional work area children may be added to the SelectionBox after creation β€” yes, you can keep decorating, main character energy ✨

  • parent β€” specifies the parent widget ID
  • name β€” specifies the name of the created widget
  • arglist β€” specifies the argument list
  • argcount β€” specifies the number of attribute/value pairs in the argument list (arglist)

For a complete definition of SelectionBox and its associated resources, see XmSelectionBox(3) β€” go read that one too, iykyk πŸ“–


πŸ”₯ RETURN πŸ”₯

Returns the SelectionBox widget ID. that's it, that's the whole return, and honestly? iconic 🫢



and that's the whole page bestie!! this was XmCreateSelectionBox from the library call manual β€” no cap, you're gonna slay with this widget now πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’