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

πŸ’… XmSelectionBoxGetChild β€” the vibe check

okay so bestie, gather round, because we're talking about XmSelectionBoxGetChild, a library call from the Xm fam πŸŽ€ (yes it lives in the XmSelectionBoxGetChild(library call) section, iykyk).

✨ NAME ✨

XmSelectionBoxGetChild β€” a SelectionBox function that is used to access a component 🫢


🌸 SYNOPSIS 🌸

#include <Xm/SelectioB.h>
Widget XmSelectionBoxGetChild(
Widget widget,
unsigned char child);

πŸ¦‹ DESCRIPTION πŸ¦‹

So XmSelectionBoxGetChild is literally just your little key to the SelectionBox VIP room πŸ”‘βœ¨ β€” it gets you access to a component inside a SelectionBox. The parameters you hand it are the SelectionBox widget itself plus a value that tells it which component you're trying to reach.

πŸ’€ NOTE: this routine is obsolete and only exists for compatibility with previous releases. So instead of calling XmSelectionBoxGetChild, you should call XtNameToWidget as described in the XmSelectionBox(3) reference page. Not me being old and deprecated 😭 it's giving legacy energy, but we respect our elders.

Here's the parameter tea β˜•:

  • widget β€” specifies the SelectionBox widget ID.
  • child β€” specifies a component within the SelectionBox. These are the values that are legal for this parameter:
    • XmDIALOG_APPLY_BUTTON
    • XmDIALOG_CANCEL_BUTTON
    • XmDIALOG_DEFAULT_BUTTON
    • XmDIALOG_HELP_BUTTON
    • XmDIALOG_LIST
    • XmDIALOG_LIST_LABEL
    • XmDIALOG_OK_BUTTON
    • XmDIALOG_SELECTION_LABEL
    • XmDIALOG_SEPARATOR
    • XmDIALOG_TEXT
    • XmDIALOG_WORK_AREA

For a complete definition of SelectionBox and its associated resources, see XmSelectionBox(3). πŸ‘‘


πŸ’– RETURN πŸ’–

It returns the widget ID of the specified SelectionBox component. But bestie, heads up: an application should not assume that the returned widget will be of any particular class. No assuming, no manifesting, no guessing the class πŸ™ˆ the widget is a mystery and we love that for it.



and that's the whole page, periodt πŸ’…βœ¨

this lil icon was brought to you by the XmSelectionBoxGetChild(library call) footer squad β€” same name up top, same name down here, the way that symmetry ate πŸŽ€πŸ¦‹ mwah, go call XtNameToWidget instead fr fr πŸ’œ