1XmCreateRadioBox(library call) XmCreateRadioBox(library call)
2
3
4
6 XmCreateRadioBox — A RowColumn widget convenience creation function
7
9 #include <Xm/RowColumn.h>
10 Widget XmCreateRadioBox(
11 Widget parent,
12 String name,
13 ArgList arglist,
14 Cardinal argcount);
15
17 XmCreateRadioBox creates an instance of a RowColumn widget of type
18 XmWORK_AREA and returns the associated widget ID. Typically, this is a
19 composite widget that contains multiple ToggleButtonGadgets. The
20 RadioBox arbitrates and ensures that at most one ToggleButtonGadget is
21 on at any time.
22
23 Unless the application supplies other values in the arglist, this func‐
24 tion provides initial values for several RowColumn resources. It ini‐
25 tializes XmNpacking to XmPACK_COLUMN, XmNradioBehavior to True,
26 XmNisHomogeneous to True, and XmNentryClass to XmToggleButtonGadget‐
27 Class.
28
29 In a RadioBox, the ToggleButton or ToggleButtonGadget resource XmNindi‐
30 catorType defaults to XmONE_OF_MANY, and the ToggleButton or ToggleBut‐
31 tonGadget resourceXmNvisibleWhenOff defaults to True.
32
33 This routine is provided as a convenience function for creating RowCol‐
34 umn widgets.
35
36 parent Specifies the parent widget ID
37
38 name Specifies the name of the created widget
39
40 arglist Specifies the argument list
41
42 argcount Specifies the number of attribute/value pairs in the argument
43 list (arglist)
44
45 For a complete definition of RowColumn and its associated resources,
46 see XmRowColumn(3).
47
49 Returns the RowColumn widget ID.
50
52 XmCreateRowColumn(3), XmCreateSimpleCheckBox(3), XmCreateSimpleRa‐
53 dioBox(3), XmCreateWorkArea(3), XmRowColumn(3), XmVaCreateSimpleCheck‐
54 Box(3), and XmVaCreateSimpleRadioBox(3).
55
56
57
58 XmCreateRadioBox(library call)