XMOPTIONLABELGADGET(3)
π XmOptionLabelGadget π
okay bestie, welcome to the XmOptionLabelGadget(library call) page β yes it's a library call, yes it lives in the Xm fam, and yes we're gonna get you that widget ID. this one's a RowColumn function that obtains the widget ID for the LabelGadget in an OptionMenu. periodt. π
β¨ SYNOPSIS β¨
#include <Xm/RowColumn.h>
Widget XmOptionLabelGadget(
Widget option_menu);
like, look at her. so short. so iconic. π
πΈ DESCRIPTION πΈ
so here's the tea: XmOptionLabelGadget gives your application the means for obtaining the widget ID for the internally created LabelGadget. and once you've got that widget ID in your hands?? you can adjust the visuals for the LabelGadget, if desired. it's giving "customize your own little guy" energy and honestly? we love that for you. π
option_menuβ specifies the OptionMenu widget ID π«Ά
okay now the lore. when an application creates an instance of the OptionMenu widget, that widget creates two internal gadgets. not one, bestie, TWO:
- a LabelGadget β this one is used to display RowColumn's
XmNlabelStringresource β¨ - a CascadeButtonGadget β this one displays the current selection and provides the means for posting the OptionMenu's submenu π₯
the user can specify resources in a resource file for the automatically created widgets and gadgets of an OptionMenu. so if you ever wondered "wait, what do I even call these mystery children in my resource file"β here's the list. it identifies the names of these widgets (or gadgets) and the associated OptionMenu areas:
- Option Menu Label Gadget β
OptionLabelπ - Option Menu Cascade Button β
OptionButtonπ¦
and for a complete definition of RowColumn and its associated resources, see XmRowColumn(3). iykyk. π
β RETURN β
returns the widget ID for the internal label. that's it, that's the whole vibe check. she delivers. π
π RELATED π
lowkey important: everything above is exactly what the page says. no extra guesses, no invented behaviour, just the facts with a little sparkle on top. π
and that's a wrap on XmOptionLabelGadget(library call) β sourced from the library call page, dated whenever this lil doc got its last glow-up, and honestly? ate. mwah π
β¨ππ¦πΈπ«Ά
π¦ where this page comes from
- alpine 3.24: motif-doc 2.5.2-r0 Β· LGPL-2.1-or-later
- arch rolling: openmotif 2.3.8-4 Β· LGPL-2.1-or-later
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- centos-stream 9: motif-devel 2.3.4-32.el9 Β· LGPLv2+
- epel 10: motif-devel 2.3.8-2.el10_2 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-1.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: motif-devel 2.3.8-2.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- fedora 44: motif-devel 2.3.8-3.fc44 Β· LicenseRef-Callaway-LGPLv2+
- nixos 26.05: motif 2.3.8
- nixpkgs unstable: motif 2.3.8
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: motif-devel 2.3.8-bp160.1.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms