10 Einträge, 1 Seite |
$frame = $nickname->place(-x=>27, -y => 33);
$widget->place(-x => $x, -y => $y, -in => $frame);
1
2
3
4
5
6
7
8
9
10
11
12
13
my $pane = $config{MainWindow}->Scrolled(
"Pane", -scrollbars => 'e',
-bg => 'black',
-width=>300,
-height=>200)->pack();
$nickname = $config{MainWindow}->Label(
-text => "Gina Wildd",
-background => 'white',
-font => $config{Font}
);
$nickname -> place(-x=>27, -y => 32, -in => $pane);
1
2
3
4
5
6
my $spacer = 0;
while(...)
#...
$spacer = $spacer + 18;
$mw->place(-x=>2, -y=>$spacer);
}
1
2
3
4
5
my $sp = $mw->Scrolled('Pane')->pack();
foreach my $name (qw( bli bla blubb )) {
$sp->Label(-text => $name)->pack(-pady => 1);
}
10 Einträge, 1 Seite |