On 14-10-11 17:37, Arun p das wrote:

Hi i am new to pygtk like to know difference between these things loading glade file with

 1)  builder = gtk.Builder()
        builder.add_from_file("1.xml")

  and

 2)  self.wTree = gtk.glade.XML( "expander.glade" )


does each one make any difference in accessing libraries
GtkBuilder has replaced gtk.glade. So you should always use the first method.

Cheers,
Timo



_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to