Leser: 1
9 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use Tk;
use Tk::Table;
$parent = MainWindow-> new ();
$table = $parent-> Table(-rows => 5,
-columns => 5,
-scrollbars => se,
-fixedrows => 1,
-fixedcolumns => 1,
-takefocus => 1);
foreach $a (1..10){
foreach $b (1..10) {
$table-> put ($a,$b,"$a:$b");
}
}
$table-> pack;
MainLoop;
1
2
3
4
5
6
7
8
9
10
11
12
13
use Tk;
use Tk::TableMatrix;
$parent = MainWindow-> new ();
$table = $parent-> TableMatrix (-rows => 5,
-cols => 5,
-scrollbars => se,
-takefocus => 1,
-borderwidth => 1);
$table-> pack;
MainLoop;
9 Einträge, 1 Seite |