VtToggleButton(VTCL)
VtToggleButton(VTCL)
VtToggleButton -- create toggle button, return widget name
Syntax
VtToggleButton
object_name
[
options
]
Description
Creates a ToggleButton. The button may be labelled using the standard Label class options. Returns the widget name.
Options
-callback
cmd
(C)
Sets the callback
cmd
to call when the toggle button is activated.
Additional callback keys:
set
state of the toggle button.
-set
boolean
(CSG)
Sets the state of a toggle button.
-value
boolean
(CSG)
Sets whether the state of the toggle is on or off.
Additional callback keys:
(
set
boolean, state of toggle)
value
boolean, state of toggle
See also
``Object class options''
``Geometry class options''
``Label class options''