I came across a weird problem when subclassing a GTK+ ToggleButton in Python in order to add a DrawingArea inside. It's chronicled in the following forum thread:
http://www.gtkforums.com/viewtopic.php?f=3&t=178226 The short version is that the DrawingArea inside the widget never got realized because I had to explicitly set it to visible for this to happen. I found this a bit odd, as did the guy who was helping me in the thread. So, I'm wondering if it's an expected behavior not in the docs (that I could find), or if it is in fact a bug? The source code I ended up using is the same as posted in the thread, save for changing the 'realize' signal connection to code that set the DrawingArea visible.
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
