Blutack
March 26th, 2009, 02:28 PM
I'm having a problem with a Python/GTK problem that google can't solve.
When I show an about dialog, using the following piece of code:
def about(self, widget):
self.about.run()
self.about.destroy()
It works perfectly the first time, but the second time I try to select it, I get a tiny window with no contents and the following error:
flyby.py:228: GtkWarning: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
self.about.run()
Does anybody please have any ideas about this?
It also throws the same error for a different dialog.
Cheers!
When I show an about dialog, using the following piece of code:
def about(self, widget):
self.about.run()
self.about.destroy()
It works perfectly the first time, but the second time I try to select it, I get a tiny window with no contents and the following error:
flyby.py:228: GtkWarning: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
self.about.run()
Does anybody please have any ideas about this?
It also throws the same error for a different dialog.
Cheers!