Leser: 1
4 Einträge, 1 Seite |
QuoteName: height
Class: Height
Switch: -height
Specifies the desired height for the window in number of characters.
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/perl use strict; use warnings; use Tk; my $mw = MainWindow->new(); $mw->HList(-height => 100)->pack; MainLoop;
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
use Tk::HList;
my $mw = tkinit();
$mw->Label(-bg => 'red',-text => 'bla', -height => 50,)->grid(-row => 0, -column => 0);
$mw->HList(-height => 1)->grid(-row => 0, -column => 1, -sticky => 'ns',);
$mw->MainLoop();
4 Einträge, 1 Seite |