Hi,
i'm using libglade to build an interface to my python application.
i'm using python 2.4 and pygtk 2.4.1-3 in winxp and for fedora core2
this is my python code
*** BEGIN PYTHON CODE prueba.py ***
import gtk
import gtk.glade
def some_handler(widget):
pass
xml = gtk.glade.XML('sgis/sgis.xml', "", "")
widget = xml.get_widget('widgetname')
xml.signal_autoconnect({
'some_handler': some_handler
})
gtk.main()
*** END PYTHON CODE ***
but when i try to run get this error from both winxp and linux:
(prueba.py:2959): libglade-CRITICAL **: file glade-xml.c: line 1198
(glade_xml_build_interface): assertion `wid != NULL' failed
well... actually, the numbers in prueba.py:xxx are different in the
winxp version of the error, but the rest of the line is the same.
comments? someone has seen this before?
--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/