[pygtk] Pygtk 2.14.1 and glade 3.6.1 not producing windows

Timo timomlists at gmail.com
Tue Aug 11 01:13:31 WST 2009


Bottiger, Maxwell - AES schreef:
> Thanks, that got it.  It's been a while I guess.
>
> Have you always needed to call show_all?  I don't think I did it in some of my older code.
>   
If you don't remember to do a show_all(), then maybe you did it this way:

Select your main window in Glade, got to the Common-tab and set 
"Visible" to Yes.

This is my preferred way.

Timo

> -Max
> ________________________________________
> From: asomers at gmail.com [asomers at gmail.com]
> Sent: Monday, August 10, 2009 12:37 PM
> To: Bottiger, Maxwell - AES
> Cc: pygtk at daa.com.au
> Subject: Re: [pygtk] Pygtk 2.14.1 and glade 3.6.1 not producing windows
>
> Are you remembering to call the show_all() method on your top level
> window?  libglade does not do that automatically.
>
> On Mon, Aug 10, 2009 at 10:28 AM, Bottiger, Maxwell -
> AES<Maxwell.Bottiger at itt.com> wrote:
>   
>> Hi,
>>
>> I've been writing Pygtk apps on and off for a while, but have recently run into a problem.  I'm using glade 3.6.1 to build a UI and Pygtk 2.14.1 to run the back end on my Fedora 11 system.  The pygtk apps I've written in the past all seem to work but the new ones generated with glade 3.6.1 don't show a window when I call gtk.main().  It looks like the libglade XML syntax has changed a lot since the last time I wrote an application.  Are there new calls or objects needed to show gtk windows?  I've been looking for tutorials or something that address this but haven't found much.  Thanks!
>>
>> -Max
>>
>> This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender.
>> Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail.
>> _______________________________________________
>> pygtk mailing list   pygtk at daa.com.au
>> http://www.daa.com.au/mailman/listinfo/pygtk
>> Read the PyGTK FAQ: http://faq.pygtk.org/
>>
>>     
> _______________________________________________
> 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