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

NAME

6       XmCreateSimpleOptionMenu  —  A  RowColumn  widget  convenience creation
7       function
8

SYNOPSIS

10       #include <Xm/RowColumn.h>
11       Widget XmCreateSimpleOptionMenu(
12       Widget parent,
13       String name,
14       ArgList arglist,
15       Cardinal argcount);
16

DESCRIPTION

18       XmCreateSimpleOptionMenu creates an instance of a RowColumn  widget  of
19       type XmMENU_OPTION and returns the associated widget ID.
20
21       This  routine creates an OptionMenu and its submenu containing PushBut‐
22       tonGadget or CascadeButtonGadget children.  The name of each button  is
23       button_n,  where n is an integer from 0 (zero) to the number of buttons
24       in the menu minus 1.  The name of each separator is separator_n,  where
25       n  is  an integer from 0 (zero) to the number of separators in the menu
26       minus 1.  Buttons and separators are named and  created  in  the  order
27       they are specified in the RowColumn simple menu creation resources sup‐
28       plied in the argument list.
29
30       parent    Specifies the parent widget ID
31
32       name      Specifies the name of the created widget
33
34       arglist   Specifies the argument list
35
36       argcount  Specifies the number of attribute/value pairs in the argument
37                 list (arglist)
38
39       The user can specify resources in a resource file for the automatically
40       created widgets and gadgets of an OptionMenu.  These widgets  (or  gad‐
41       gets) and the associated OptionMenu areas are
42
43       Option Menu Label Gadget
44                 OptionLabel
45
46       Option Menu Cascade Button
47                 OptionButton
48
49       A  number  of  resources exist specifically for use with this and other
50       simple menu creation routines.  The only button types  allowed  in  the
51       XmNbuttonType  resource are XmPUSHBUTTON, XmCASCADEBUTTON, XmSEPARATOR,
52       and XmDOUBLE_SEPARATOR.  For a complete definition of RowColumn and its
53       associated resources, see XmRowColumn(3).
54

RETURN

56       Returns the RowColumn widget ID.
57
59       XmCreateOptionMenu(3),    XmCreateRowColumn(3),   XmRowColumn(3),   and
60       XmVaCreateSimpleOptionMenu(3).
61
62
63
64                                        XmCreateSimpleOptionMenu(library call)
Impressum