Hello,

I'm trying to write a script which sends events to the focused window
(e.g: CTRL+V to paste some text into the window). I needs to be generic
(not just gtk apps).

Normally one can use xlib (with XGetInputFocus), however I'd like to
keep it gtk/gdk only to reduce dependencies (like python-xlib).

Is there some way to get gtk.gdk.Window of the focused window ?

thanks
--
Meir Kriheli
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to