Leser: 1
![]() |
|< 1 2 3 >| | ![]() |
25 Einträge, 3 Seiten |
require Tk::GraphItems
Tk::GraphItems->TextBox(args)
1
2
3
4
5
6
require Tk::GraphItems::TextBox;
...
#und dann
Tk::GraphItems::TextBox->new(@args);
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;
use Tk;
use Tk::GraphItems;
use Tk::GraphItems::TextBox;
my $mw = tkinit;
my $c = $mw->Canvas->pack;
my $tb = Tk::GraphItems::TextBox->new(canvas => $c,
x => 10,
y => 20,
text => 'test');
MainLoop;
Spieler+2007-11-27 14:12:21--[...]
Möglicherweise verhält sich Test::More::use_ok() ein bisschen anders als ein echtes use, dann müsste ich einen besseren Test finden.
[...]
![]() |
|< 1 2 3 >| | ![]() |
25 Einträge, 3 Seiten |