I'll just reply to myself here so that the solution is kept in the mailing list archive.
Basically, I just needed to change the event mask for the drawing area. This is in the "Common" tab of Glade's Properties dialog. A warning to my fellow inhabitants of the future, make sure you don't accidentally select "key_press" when you intend "button_press". -sjbrown On Fri, 2007-04-06 at 15:00 -0700, Shandy Brown wrote: > Hmm.. That sounds like the kind of thing Glade should do for me, no? > > On Fri, 2007-04-06 at 11:53 +0200, Gian Mario Tagliaretti wrote: > > 2007/4/6, Shandy Brown <[EMAIL PROTECTED]>: > > > > > I have also tried realize() in place of show() with the same result. > > > Any hints? > > > > If I remember correctly you have to pack the drawingarea into the > > toplevel window first, and then show them, at that point the gdk > > window will be created. > > > > cheers > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
