in reply to TK Checkbuttons!
From what you have said, you need to specify the options: -variable, -onvalue and -offvalue. If you initially set $variable to the on value before calling MainLoop, the button will appear in an on state.
Note that -variable expects a reference to the variable you are passing.
See the documentation.
--
I'm Not Just Another Perl Hacker
|
|---|