in reply to Tkx select/deselect checkbuttons

I think that a simple call to the select method of every checkbox will be enough. Something like:

sub select_all { my @cbxs = @_; for my $cb (@cbxs) { $cb->select( ); } }

"Mastering Perl/Tk" is a good reference, when you're dealing with Tk.

- Luke

Replies are listed 'Best First'.
Re^2: Tkx select/deselect checkbuttons
by Anonymous Monk on Nov 12, 2014 at 00:47 UTC
    Thank you, Luke. By setting the checkbutton to 1/0, I was able to get it to work.