Thread MainLoop blockiert (7 answers)
Opened by theresa at 2008-07-25 14:23

theresa
 2008-07-25 15:57
#112704 #112704
User since
2007-07-17
90 Artikel
BenutzerIn
[default_avatar]
Ja, dies ist die aufrufende Datei:
Code: (dl )
1
2
3
use LoginFenster;
$LF = LoginFenster->new();
print "macht weiter!";

LoginFenster:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package LoginFenster;
use strict;
use Tk;
use vars qw($VERSION);
$VERSION = 0.01;

use Alias qw(attr);
use vars qw($MW);

my %felder = (
MW=>undef,
);

sub new {
my $that = shift;
my $class = ref($that)||$that;
my $self = {
%felder,
};
bless $self, $class;
init();
return $self;
}

sub init {
$MW = tkinit(-title=> 'Anmeldung');
#...
MainLoop;
}

View full thread MainLoop blockiert