Leser: 1
6 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/Perl/bin/perl
use strict;
use warnings;
use Data::Dumper qw/Dumper/;
use Perl6::Say;
use Tk;
use Tk::Pane;
my $mw = Tk::MainWindow->new();
my $sf = $mw->Scrolled(
'Frame',
-scrollbars => 'se',
-bg => 'green',
)->pack();
my $wasmussichhiereinsetzen = 'frame'; # ???
say ref $sf->Subwidget($wasmussichhiereinsetzen);
$mw->MainLoop();
$sf->children();
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();
6 Einträge, 1 Seite |