1XmCreateSimplePulldownMenu(library callX)mCreateSimplePulldownMenu(library call)
2
3
4

NAME

6       XmCreateSimplePulldownMenu  —  A  RowColumn widget convenience creation
7       function
8

SYNOPSIS

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

DESCRIPTION

18       XmCreateSimplePulldownMenu creates an instance of a RowColumn widget of
19       type XmMENU_PULLDOWN and returns the associated widget ID.
20
21       This routine creates a Pulldown menu pane and its button children.  The
22       name of each button is button_n, where n is an integer from 0 (zero) to
23       the  number of buttons in the menu minus 1.  The name of each separator
24       is separator_n, where n is an integer from 0 (zero) to  the  number  of
25       separators  in  the  menu  minus 1.  The name of each title is label_n,
26       where n is an integer from 0 (zero) to the number of titles in the menu
27       minus  1.  Buttons, separators, and titles are named and created in the
28       order  they  are  specified  in  the  RowColumn  simple  menu  creation
29       resources supplied in the argument list.
30
31       parent    Specifies the widget ID of the parent of the MenuShell
32
33       name      Specifies the name of the created widget
34
35       arglist   Specifies the argument list
36
37       argcount  Specifies the number of attribute/value pairs in the argument
38                 list (arglist)
39
40       A number of resources exist specifically for use with  this  and  other
41       simple  menu  creation  routines.  The only button types allowed in the
42       XmNbuttonType resource are XmCASCADEBUTTON,  XmPUSHBUTTON,  XmRADIOBUT‐
43       TON,  XmCHECKBUTTON, XmTITLE, XmSEPARATOR, and XmDOUBLE_SEPARATOR.  For
44       a complete definition of RowColumn and its  associated  resources,  see
45       XmRowColumn(3).
46

RETURN

48       Returns the RowColumn widget ID.
49
51       XmCreatePulldownMenu(3),   XmCreateRowColumn(3),   XmRowColumn(3),  and
52       XmVaCreateSimplePulldownMenu(3).
53
54
55
56                                      XmCreateSimplePulldownMenu(library call)
Impressum