in reply to Re^3: Perl/TK KeyPress/Release minimized
in thread Perl/TK KeyPress/Release minimized
The best solution is to build a single app, that incorporates the browser view and the pan controls... see embedding Dillo Html browser in a Tk app. I havn't had much luck with it, but Gtk2 has a MozEmbed library, which supposedly lets you embed applications with Mozilla. This is where Java has a great advantage over Perl, with it's java brower plugin. Maybe switch to java, or write a Flash program that can be run in the browser?
Another suggestion is google for "xbindkeys", and setup a daemon to intercept the keys, or google for "xvkdb"... the X virtual keyboard.
Is it possible to use the "tab focus shift" mechanism (or whatever your window manger uses to shift focus by the keyboard) to toggle focus between the browser and Tk app?
Is it really that hard to move the mouse back and forth between the browser and Tk window? There are ways to keep the Tk window "on top" if your window manager hides it when out of focus.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Perl/TK KeyPress/Release minimized
by Anonymous Monk on Mar 24, 2008 at 19:09 UTC | |
by zentara (Cardinal) on Mar 25, 2008 at 13:58 UTC | |
by Anonymous Monk on Mar 25, 2008 at 14:58 UTC | |
by zentara (Cardinal) on Mar 25, 2008 at 19:34 UTC | |
by zentara (Cardinal) on Mar 26, 2008 at 12:13 UTC |