This made me think that we might want to separate the parsing of the
tree into a separate method; something like:

    self.tree = gtk.glade.XML("foo.glade")
    self.tree.set_custom_handler(self.custom_widget_handler)
    self.tree.parse()

And it also break backwards compatibility.

Adding an optional keyword argument, like Gustavo suggested would not break it.

Johan
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to