On Sat, Apr 17, 2010 at 11:42:33PM +0200, jearuf wrote:
> I use Glade 3.6.3 and Python. I have a problem with the use of
> gtk.glade.XML
> I begin my program with :
> 
> .. 
> It looks like if gtk.glade.XML works just with libglade. I use
> GtkBuilder, so the tag in tutoriel.glade is natively <interface>.
> Is it something not up to date with gtk.glade.XML ?

I don't really understand what you mean. But if you save your file with glade
as a gtkbuilder file, you must use gtkbuilder, and not libglade.

builder = gtk.Builder()
builder.add_from_file(yourfile)

your_widget = builder.get_object('widget_name')

Hope this help.

-- 
Guillaume
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to