[pygtk] PyGtk moving gtk.Window signal, event

Marco Bonifazi marcobonifazi at gmail.com
Wed Jun 7 17:48:08 WST 2006


Hello!

I don't find a way to implement a dock style window.
The situation is:
I have a toplevel window and a smaller window (transient for the toplevel
window).
I looked for a specific signal or a event, but I didn't found anything.

Now I'm trying to use get_focus method of toplevel window: when I click on
the secondary window, it returns a gtk.gdk.window but I don't find any
methods returning the right coordinates (there are get_origin,
get_root_origin, get_geometry, get_position: they return (0,0), as it is
referred to another internal window).
My questions are:
in which way can I have gtk.Window after focus is activated on it?
Have you any suggestions to do this dock window?

Bye!

-- 
Marco Bonifazi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20060607/1702de6b/attachment.htm


More information about the pygtk mailing list