Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XmCreateSimpleCheckBox(3X)  —  OSF/Motif

NAME

XmCreateSimpleCheckBox − A RowColumn widget convenience creation function

SYNOPSIS

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

DESCRIPTION

XmCreateSimpleCheckBox creates an instance of a RowColumn widget of type XmWORK_AREA and returns the associated widget ID. 

This routine creates a CheckBox and its ToggleButtonGadget children.  A CheckBox is similar to a RadioBox, except that more than one button can be selected at a time.  The name of each button is button_n, where n is an integer from 0 to one minus the number of buttons in the menu.  Buttons are named and created in the order in which they are specified in the RowColumn simple menu creation resources supplied in the argument list. 

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)

A number of resources exist specifically for use with this and other simple menu creation routines.  The only button type allowed in the XmNbuttonType resource is XmCHECKBUTTON.  For a complete definition of RowColumn and its associated resources, see XmRowColumn(3X). 

RETURN VALUE

Returns the RowColumn widget ID. 

RELATED INFORMATION

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

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