
32 Perl/Tk Pocket Reference
-indicatoron => boolean
Whether or not the indicator should be drawn.
-offvalue => value
Value given to variable specified with
-variable option
when the checkbutton is deselected.
-onvalue => value
Value given to variable specified with
-variable option
when the checkbutton is selected.
-selectcolor => color
Color used to fill in indicator when selected.
-selectimage => image
Image displayed in indicator when selected.
-variable => varRef
Variable to associate with checkbutton.
$checkbutton->deselect;
Deselect the checkbutton.
$checkbutton->flash;
Alternates checkbutton between active and normal colors.
$checkbutton->invoke;
Toggles the selection state of the checkbutton and
invokes the callback specified with
-command, if any.
$checkbutton->select;
Selects the checkbutton.
$checkbutton->toggle;
Toggles the selection state of the checkbutton.
Frame
-foreground -underline
-height -width
-highlightbackground -wraplength
-highlightcolor
-borderwidth -highlightthickness
-cursor -relief