[pygtk] Re: Glade Application Examples?

Chris Spencer gmane.20.evilspam at spamgourmet.com
Sat Oct 15 07:10:08 WST 2005


Steve McClure wrote:
> On Fri, 2005-10-14 at 01:25 -0400, Chris Spencer wrote:
> 
>>I've been using Glade to design some Gnome applications. However, I've
>>been having an extremely difficult time trying to load the glade file
>>with pyGTK. The few examples I've found only cover extremely simple GTK
>>programs. When I try to load my Gnome application in a similar way I get
>>the error:
>>
>>GnomeUI-ERROR **: You must call gnome_program_init() before creating a
>>GnomeApp
>>
>>This function doesn't appear to be listed in the docs, and Google only
>>returns posts of people asking about this function...and finding little.
> 
> 
> Basically something like this.  I run this on RedHat 9 and it had
> different handing of the app-data property than the newer versions so
> you might not need the both of those chunks.

Thanks, that's exactly what I was looking for.

Chris



More information about the pygtk mailing list