update: I was able to solve the Linux case (by help of IRC #python channel)

Just 3 lines of code:
======================
import gtk
wrapped_window = gtk.gdk.window_foreign_new(int(hwnd))
wrapped_window.focus()
======================
However, this requires end-users to manually disable "Focus stealing
prevention" in KDE.
Any ideas on how-to make it work out-of-the-box ?

-- 
-Alexey Eromenko "Technologov"

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to