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

NAME

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

SYNOPSIS

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

DESCRIPTION

15       XmOptionLabelGadget provides the application with the means for obtain‐
16       ing  the  widget  ID  for the internally created LabelGadget.  Once the
17       application has obtained the widget ID, it can adjust the  visuals  for
18       the LabelGadget, if desired.
19
20       option_menu
21                 Specifies the OptionMenu widget ID
22
23       When  an  application creates an instance of the OptionMenu widget, the
24       widget creates two internal gadgets. One is a LabelGadget that is  used
25       to display RowColumn's XmNlabelString resource. The other is a Cascade‐
26       ButtonGadget that displays the current selection and provides the means
27       for posting the OptionMenu's submenu.
28
29       The user can specify resources in a resource file for the automatically
30       created widgets and gadgets of an OptionMenu. The following list  iden‐
31       tifies  the  names  of  these  widgets  (or gadgets) and the associated
32       OptionMenu areas.
33
34       Option Menu Label Gadget
35                 OptionLabel
36
37       Option Menu Cascade Button
38                 OptionButton
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 label.
45
47       XmCreateOptionMenu(3),  XmLabelGadget(3),  XmOptionButtonGadget(3), and
48       XmRowColumn(3).
49
50
51
52                                             XmOptionLabelGadget(library call)
Impressum