That's not a problem:
use strict; use warnings; use Tk; my $mw = MainWindow->new; my $package = 'normal'; foreach my $type (qw(normal pckg_A pckg_B)) { $mw->Radiobutton( -text => " $type", -value => $type, -variable => \$package, )->pack; } MainLoop;
In reply to Re^5: How do I space out each radio button horizontally in Perl/Tk
by stefbv
in thread How do I space out each radio button horizontally in Perl/Tk
by Janish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |