[pygtk] DrawingArea: window is still None.

Shandy Brown sbrown at vmware.com
Fri Apr 6 09:17:11 WST 2007


I'm getting None returned as my drawingArea.window attribute.  here's a
snippet:

(NOTE: I'm using Glade)

        self.tzdraw = xml.get_widget("TimezoneDrawingArea")

        self.tzdraw.show()
        assert self.tzdraw
        assert self.tzdraw.window  #This fails


I have also tried realize() in place of show() with the same result.
Any hints?

sjbrown




More information about the pygtk mailing list