Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #70915

Re: Glade on Windows using Python

Newsgroups comp.lang.python
Date 2014-05-04 12:51 -0700
References <62715f8a-8e45-4150-a3c9-ca1183fc6abb@googlegroups.com>
Message-ID <e2c08192-8e17-4827-9060-5a0220dc3026@googlegroups.com> (permalink)
Subject Re: Glade on Windows using Python
From mbg1708@planetmail.com

Show all headers | View raw


On Tuesday, April 22, 2014 7:08:29 PM UTC-4, mbg...@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Glade on Windows using Python mbg1708@planetmail.com - 2014-04-22 16:08 -0700
  Re: Glade on Windows using Python mbg1708@planetmail.com - 2014-05-04 12:51 -0700
    Re: Glade on Windows using Python Michael Torrie <torriem@gmail.com> - 2014-05-04 17:27 -0600

csiph-web