in reply to Re: Creating keybinds GLOBALY!
in thread Creating keybinds GLOBALY!
Now, the binding doesnt work when window is out of focus... (as someone said is impossible to make working in tk in some other thread here at PerlMonks...)use Tk; my $main = new MainWindow(-title => "Global Testing"); $main->bind("<KeyPress>", sub {print "Hello there!"}); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Creating keybinds GLOBALY!
by davis (Vicar) on Aug 05, 2005 at 08:58 UTC | |
by Ace128 (Hermit) on Aug 05, 2005 at 16:24 UTC | |
by 5mi11er (Deacon) on Aug 05, 2005 at 17:58 UTC | |
by BrowserUk (Patriarch) on Aug 05, 2005 at 18:57 UTC | |
by 5mi11er (Deacon) on Aug 05, 2005 at 19:55 UTC | |
by Ace128 (Hermit) on Aug 19, 2005 at 18:25 UTC |