[pygtk] GTKWarning
Graham Whelan
gawhelan at gmail.com
Fri Feb 27 20:17:39 WST 2009
2009/2/26 rupali joshi <rupsdj2002 at gmail.com>
> main.py:239: GtkWarning: gtk_menu_attach_to_widget(): menu already attached
> to GtkImageMenuItem
> self.wTree = gtk.glade.XML("main_window.glade")
Never seen this one before, but it looks like it's trying to attach the same
menu to 2 different widgets. Check the menu definition in the glade file. If
the menu is not too big, you could try rebuilding it from scratch.
> main.py:239: GtkWarning: gtk_notebook_set_tab_label: assertion
> `GTK_IS_WIDGET (child)' failed
> self.wTree = gtk.glade.XML("main_window.glade")
You need to add a widget to each page of the gtk.Notebook in the glade file.
Graham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090227/5192eae0/attachment.html
More information about the pygtk
mailing list