Thread Nochmal Subwidget (5 answers)
Opened by pktm at 2007-03-13 18:24

Arkhen2
 2007-03-14 09:50
#46269 #46269
User since
2005-03-11
25 Artikel
BenutzerIn
[default_avatar]
Oder so ?

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/Perl/bin/perl
use strict;
use warnings;
use Data::Dumper qw/Dumper/;
use Tk;
use Tk::Pane;

my $mw = Tk::MainWindow->new();

my $sf = $mw->Scrolled(
'Frame',
-scrollbars => 'se',
-bg => 'green',
)->pack();

my $lb = $sf->Label(-text=>'Text')->pack();

for($sf->{'SubWidget'}{'scrolled'}->packSlaves){
$_->configure(-text=>'neu');
}

$mw->MainLoop();

View full thread Nochmal Subwidget