Hi, I have found a bug but I don't know where it is.
I generated a simple glade file with a 'Gnome date' widget in it (just as test). I told glade I didn't want the time widgets displayed, but when I get gtk.glade to generate the window the time widgets are there.
glade 3.4.0 python 2.5.1 Regards Neil
testwindow.glade
Description: application/glade
#!/usr/bin/python
import gtk
import gtk.glade
class Window :
def __init__(self) :
self.glade = gtk.glade.XML('./testwindow.glade',root='window1')
self.glade.signal_autoconnect(self)
self.window = self.glade.get_widget('window1')
self.window.show_all()
def main(self) :
gtk.main()
def gtk_main_quit(self, widget, event) :
gtk.main_quit()
def on_button1_clicked(self, widget) :
print "button 1"
if __name__ == "__main__" :
window = Window()
window.main()
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
