|< 1 2 >| | 11 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl
use strict;
use warnings 'all';
use Tk;
use Tk::Text;
my $mw = tkinit;
my $text = $mw->Scrolled('Text' =>
-scrollbars => 'ose',
-background => 'white',
-wrap => 'none')
->pack(-fill => 'both',
-expand => 1);
$text -> focus();
$text -> bind('<Control-Tab>', sub { $text->focus() });
MainLoop;
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 'all';
use Tk;
use Tk::Text;
my $mw = tkinit;
my $text = $mw->Scrolled('Text' =>
-scrollbars => 'ose',
-background => 'white',
-wrap => 'none')
->pack(-fill => 'both',
-expand => 1);
$text -> focus();
$text -> bind('<Control-Tab>', sub { $text->focus();
$text->break;
});
MainLoop;
|< 1 2 >| | 11 Einträge, 2 Seiten |