4 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
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
use Tk::HList;
use FindBin;
my $mw = tkinit;
my(@images) = qw(image1.xpm image2.xpm);
my $hl = $mw->HList->pack();
$hl->itemCreate($hl->addchild(''), 0, -itemtype => 'imagetext',
-image => $mw->Photo(-file => "$FindBin::Bin/images/$_" ),
-text => $_ )
for @images;
MainLoop;
4 Einträge, 1 Seite |