1XmCreateSimpleMenuBar(library call) XmCreateSimpleMenuBar(library call)
2
3
4
6 XmCreateSimpleMenuBar — A RowColumn widget convenience creation func‐
7 tion
8
10 #include <Xm/RowColumn.h>
11 Widget XmCreateSimpleMenuBar(
12 Widget parent,
13 String name,
14 ArgList arglist,
15 Cardinal argcount);
16
18 XmCreateSimpleMenuBar creates an instance of a RowColumn widget of type
19 XmMENU_BAR and returns the associated widget ID.
20
21 This routine creates a MenuBar and its CascadeButtonGadget children.
22 The name of each button is button_n, where n is an integer from 0
23 (zero) to the number of buttons in the menu minus 1. Buttons are named
24 and created in the order they are specified in the RowColumn simple
25 menu creation resources supplied in the argument list.
26
27 parent Specifies the parent widget ID
28
29 name Specifies the name of the created widget
30
31 arglist Specifies the argument list
32
33 argcount Specifies the number of attribute/value pairs in the argument
34 list (arglist)
35
36 A number of resources exist specifically for use with this and other
37 simple menu creation routines. The only button type allowed in the
38 XmNbuttonType resource is XmCASCADEBUTTON. For a complete definition
39 of RowColumn and its associated resources, see XmRowColumn(3).
40
42 Returns the RowColumn widget ID.
43
45 XmCreateMenuBar(3), XmCreateRowColumn(3), XmRowColumn(3), and XmVaCre‐
46 ateSimpleMenuBar(3).
47
48
49
50 XmCreateSimpleMenuBar(library call)