VtToggleButton --
create toggle button, return widget name
Syntax
VtToggleButtonwidgetName [options]
Description
Creates a ToggleButton. The button may be labelled using the
standard Label class options. Returns the widget name.
Options
-noCallback (CS)
Suppresses the -callback when -value is set.
-textVariablestring (CS)
Updates the interpreter variable string with the
widget value. The update happens under the same conditions that
would invoke -callback, but before -callback is
called. Setting a value into the interpreter variable
updates the ToggleButton as if setting -value on the widget.
-valueboolean (CSG)
Sets whether the state of the toggle is on or off.
To use this option, also set -noCallback.