in reply to Re^4: How do I space out each radio button horizontally in Perl/Tk
in thread How do I space out each radio button horizontally in Perl/Tk
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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: How do I space out each radio button horizontally in Perl/Tk
by Janish (Sexton) on Jul 11, 2014 at 07:02 UTC | |
by stefbv (Curate) on Jul 11, 2014 at 07:24 UTC | |
by Janish (Sexton) on Jul 11, 2014 at 08:38 UTC |
In Section
Seekers of Perl Wisdom