in reply to Gtk2 X11 GrabKey
My initial reaction: why not just use the Gtk interface for detecting a key press? Isn't there a way to add an event callback for a keypress in Gtk? I know how to do this in Prima and can't imagine Gtk doesn't have something similar.
Then I re-read your post, and decided that when you said "I need to get the global key press asynchronously", that you want to get that keypress even if the user is actively using any application. Is that what you mean?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Gtk2 X11 GrabKey
by Anonymous Monk on Dec 14, 2013 at 15:23 UTC | |
by basiliscos (Pilgrim) on Dec 14, 2013 at 16:05 UTC | |
by dcmertens (Scribe) on Dec 14, 2013 at 18:32 UTC |
In Section
Seekers of Perl Wisdom