ron800 has asked for the wisdom of the Perl Monks concerning the following question:
for my $x (@structured_options) { $types_selected{$x}=0; my $structuredb = $structured_frame->new_ttk__checkbutton( -text => $x, -onvalue => 1, -offvalue => 0, -variable =>\$types_selected{$x}, ); $structuredb->g_pack(-side => "left"); } my $imagec = $image_frame->new_ttk__checkbutton( -text => 'All', -onvalue => 1, -offvalue => 0, -variable =>\$all_images, -command => sub{ select_all() }, ); $imagec->g_pack(-side => "left");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tkx select/deselect checkbuttons
by blindluke (Hermit) on Nov 11, 2014 at 20:34 UTC | |
by Anonymous Monk on Nov 12, 2014 at 00:47 UTC | |
|
Re: Tkx select/deselect checkbuttons
by Anonymous Monk on Nov 12, 2014 at 01:59 UTC |