Leser: 1
4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use Tk;
my $mw = tkinit;
my $label = $mw->Label(-text => 'Ok',
-relief => 'sunken',
-width => 30,
-height => 30)->pack();
$mw->Button(-text => 'resize', -command => [\&res,$label])->pack();
$label->packPropagate(0);
MainLoop;
sub res{
my ($label) = @_;
$label->configure(-height => 40, -width => 40);
}
$Label1->place( -height => 21, -width => 141);
4 Einträge, 1 Seite |