XmOptionButtonGadget(3Xm) — UNIX Programmer’s Manual
NAME
XmOptionButtonGadget — a RowColumn function that obtains the widget ID for the CascadeButtonGadget in an OptionMenu.
SYNOPSIS
#include <Xm/RowColumn.h> Widget XmOptionButtonGadget (option_menu)
Widgetoption_menu;
DESCRIPTION
XmOptionButtonGadget provides the application with the means for obtaining the widget ID for the internally created CascadeButtonGadget. Once the application has obtained the widget ID, it has the ability to adjust the visuals for the CascadeButtonGadget, if desired.
When an application creates an instance of the OptionMenu widget, the widget creates two internal gadgets. One is a LabelGadget that is used to display RowColumn’s XmNlabelString resource. The other is a CascadeButtonGadget that displays the current selection and provides the means for posting the OptionMenu’s submenu.
option_menuSpecifies the OptionMenu widget ID.
For a complete definition of RowColumn and its associated resources, see XmRowColumn(3Xm).
RETURN VALUE
Returns the widget ID for the internal button.
RELATED INFORMATION
XmCreateOptionMenu(3Xm), XmCascadeButtonGadget(3Xm), XmOptionLabelGadget(3Xm), and XmRowColumn(3Xm).
7th Edition