VtCheckBox --
create a CheckBox widget and return widget name
Synopsis
VtCheckBoxwidgetName [options]
Description
Creates a CheckBox widget. Returns the widget name.
Options
-callbackcmd (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.
-numColumnsinteger (CS)
Sets the number of columns of objects in a RowColumn, CheckBox,
or RadioBox.
-spacinginteger (CS)
Sets the spacing between objects inside a row column. Useful for a
toolbar.
-valuewidgetName (CS)
Turns on the passed-in toggle button (unsetting all the rest).
To set more than one button use -valueList.
-valueListlist (CSG)
Takes a list of toggle button widget names and turns those
toggle buttons on (unsetting all the rest).