VtCheckBox(1vtcl)


VtCheckBox -- create a CheckBox widget and return widget name

Synopsis

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''

References


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004