[pygtk] gtk.builder and gtk.glade.XML

Timo timomlists at gmail.com
Sat Oct 15 01:53:54 WST 2011


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 at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/



More information about the pygtk mailing list