DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtCheckBox(VTCL)


VtCheckBox -- create a CheckBox widget and return widget name

Syntax

VtCheckBox widgetName [options]

Description

Creates a CheckBox widget. Returns the widget name.

Options


-callback cmd (C)
Specifies that cmd is called when a toggle button in the CheckBox is selected (using <Space>, <Enter>, or mouse button). This overrides any individual callback set for the contained toggle buttons.

Additional callback keys:


selectedWidgetList
list of selected toggle buttons)

value
list of selected toggle buttons

-horizontal (CS)
Sets the orientation to horizontal.

-numColumns integer (CS)
Sets the number of columns of objects in a RowColumn, CheckBox, or RadioBox.

-spacing integer (CS)
Sets the spacing between objects inside a row column. Useful for a toolbar.

-value widgetName (CS)
Turns on the passed-in toggle button (unsetting all the rest). To set more than one button use -valueList.

-valueList list (CSG)
Takes a list of toggle button widget names and turns those toggle buttons on (unsetting all the rest).

-vertical (CS)
Sets the orientation to vertical.

``Geometry class options''

``Object class options''

See also


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003