1XmOptionButtonGadget(library call)          XmOptionButtonGadget(library call)
2
3
4

NAME

6       XmOptionButtonGadget  — A RowColumn function that obtains the widget ID
7       for the CascadeButtonGadget in an OptionMenu
8

SYNOPSIS

10       #include <Xm/RowColumn.h>
11       Widget XmOptionButtonGadget(
12       Widget option_menu);
13

DESCRIPTION

15       XmOptionButtonGadget  provides  the  application  with  the  means  for
16       obtaining the widget ID for the internally created CascadeButtonGadget.
17       Once the application has obtained the widget  ID,  it  can  adjust  the
18       visuals for the CascadeButtonGadget, if desired.
19
20       When  an  application creates an instance of the OptionMenu widget, the
21       widget creates two internal gadgets. One is a LabelGadget that is  used
22       to  display  RowColumn's  XmNlabelString resource.  The other is a Cas‐
23       cadeButtonGadget that displays the current selection and  provides  the
24       means for posting the OptionMenu's submenu.
25
26       The user can specify resources in a resource file for the automatically
27       created widgets and gadgets of an OptionMenu. The following list  iden‐
28       tifies  the  names  of  these  widgets  (or gadgets) and the associated
29       OptionMenu areas.
30
31       Option Menu Label Gadget
32                 OptionLabel
33
34       Option Menu Cascade Button
35                 OptionButton
36
37       option_menu
38                 Specifies the OptionMenu widget ID
39
40       For a complete definition of RowColumn and  its  associated  resources,
41       see XmRowColumn(3).
42

RETURN

44       Returns the widget ID for the internal button.
45
47       XmCreateOptionMenu(3),    XmCascadeButtonGadget(3),   XmOptionLabelGad‐
48       get(3), and XmRowColumn(3).
49
50
51
52                                            XmOptionButtonGadget(library call)
Impressum