Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmCreateRowColumn(3X)

XmCreateSimpleCheckBox(3X)

XmCreateSimpleRadioBox(3X)

XmCreateWorkArea(3X)

XmRowColumn(3X)

XmVaCreateSimpleCheckBox(3X)

XmVaCreateSimpleRadioBox(3X)

XmCreateRadioBox(3X)  —  Subroutines

OSF/Motif

NAME

XmCreateRadioBox − A RowColumn widget convenience creation function

SYNOPSIS

#include <Xm/RowColumn.h>
Widget XmCreateRadioBox (parent, name, arglist, argcount)
Widgetparent;
Stringname;
ArgListarglist;
Cardinalargcount;

DESCRIPTION

XmCreateRadioBox creates an instance of a RowColumn widget of type XmWORK_AREA and returns the associated widget ID.  Typically, this is a composite widget that contains multiple ToggleButtonGadgets.  The RadioBox arbitrates and ensures that at most one ToggleButtonGadget is on at any time. 

Unless the application supplies other values in the arglist, this function provides initial values for several RowColumn resources.  It initializes XmNpacking to XmPACK_COLUMN, XmNradioBehavior to True, XmNisHomogeneous to True, and XmNentryClass to xmToggleButtonGadgetClass. 

In a RadioBox the ToggleButton or ToggleButtonGadget resource XmNindicatorType defaults to XmONE_OF_MANY, and the ToggleButton or ToggleButtonGadget resourceXmNvisibleWhenOff defaults to True. 

This routine is provided as a convenience function for creating RowColumn widgets. 

parentSpecifies the parent widget ID

nameSpecifies the name of the created widget

arglistSpecifies the argument list

argcountSpecifies the number of attribute/value pairs in the argument list (arglist)

For a complete definition of RowColumn and its associated resources, see XmRowColumn(3X). 

RETURN VALUE

Returns the RowColumn widget ID. 

RELATED INFORMATION

XmCreateRowColumn(3X), XmCreateSimpleCheckBox(3X), XmCreateSimpleRadioBox(3X), XmCreateWorkArea(3X), XmRowColumn(3X), XmVaCreateSimpleCheckBox(3X), and XmVaCreateSimpleRadioBox(3X). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026