in reply to Perl TK Questions
I think you can add this to simulate pressing the Enter / Escape keys:
And to position in the screen:$mw->bind('<KeyRelease-Return>' => \&Hello); $mw->bind('<KeyRelease-Escape>' => sub{ exit });
$mw->geometry('100x200+1500+1500'); # which represents the size + position
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Perl TK Questions
by d5e5 (Beadle) on Dec 22, 2010 at 21:57 UTC | |
by Khariton (Sexton) on Dec 23, 2010 at 11:30 UTC |
In Section
Seekers of Perl Wisdom