[pygtk] gtk.gdk.Window.get_frame_extents does not recognize Window objects passed to it

John Finlay finlay at moeraki.com
Fri Sep 30 10:51:03 WST 2005

Mystilleef wrote:

>Once again, self is an Editor object that inherits from
>gtk.Window. Is there a difference between a gtk.gdk.Window and a
>gtk.Window? I'm I using the function incorrectly? Or have I
>just totally missed the point. Your help is appreciated.
A gtk.Window and a gtk.gdk.Window are different objects. A gtk.Window 
uses a gtk.gdk.Window which is available using the "window" attribute 
Try: Editor.window.get_frame_extents()


More information about the pygtk mailing list