Leser: 1
|< 1 2 >| | 15 Einträge, 2 Seiten |
$toplevel->geometry("100x100+10+10");
$toplevel->geometry("100x100+10+10");
1
2
3
my $tl_window = $mw->Toplevel(-title=>'Fortschritt',-width=>$w,-height=>$h);
my $frame_text = $tl_window->Frame()
->pack(-expand=>1,-fill => 'both');
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
my $w = 250;
my $h = 200;
# Top-Level Fenster erzeugen
my $tl_window = $Config{main_window}
->Toplevel(-title => 'Über Kontoauszüge',
-width => $w,
-height => $h
);
my ($width,$height,$pos_x,$pos_y) = split /\+|x/,$Config{main_window}->geometry();
# Top Level in Mitte des MainWindows positionieren
$tl_window->geometry('+' .
int ($width / 2 + $pos_x - $w / 2) .
'+' .
int ($height / 2 + $pos_y - $h / 2)
);
|< 1 2 >| | 15 Einträge, 2 Seiten |