Glade on Windows using Python

mbg1708 at planetmail.com mbg1708 at planetmail.com
Sun May 4 15:51:01 EDT 2014


On Tuesday, April 22, 2014 7:08:29 PM UTC-4, mbg... at planetmail.com wrote:
> Using Windows 8.1 Update.
> 
> I've loaded ActiveState python (version 2.7) --- installed OK.
> 
> I don't need Glade, but I do want to use some Glade XML and run the python application.
> 
> To run a Glade application this needs:
> 
> 
> 
>      from gi.repository import Gtk
> 
> 
> 
> gi.repository is not available to import.
> 
> 
> 
> Where can I find gi.repository?....all searches to date have come up empty!
> 
> 
> 
> Mary

So...it turns out that Glade support for Python 2.7 is pretty difficult.
I ended up rewriting the whole thing using Tkinter and ttk.Treeview.
It would have been good to reuse the Glade XML...less code, better looking, etc. etc.

Ah well.

Mary



More information about the Python-list mailing list