[pygtk] Quickly open and colse a windows due to a .hide() at start

Timo timomlists at gmail.com
Thu Sep 3 17:16:34 WST 2009


Alexandre González schreef:
> Hi guys!
>
> I have an application that has two windows in the .glade: a main 
> window and a help window. When I run the application, the two windows 
> are showed, so I .hide() the help window... well.. here is the 
> problem. Is It a good way to do it?
Why not set the "Visible" option to False in the Glade file (it's in the 
common-tab I think).
So the window isn't shown at program start and you can do a .show() when 
you need it.

Timo
>
> In Ubuntu with gnome, (rox+xfce)... no problem! But when I test it in 
> debian Lenny with official repos, so I ask me if the problem could be 
> a bug on pygtk libraries in debian? It's the same computer, so no 
> problem with velocity or RAM.
>
> Thanks!
> Álex González
>
> -- 
> Please, don't send me files with extensions: .doc, .docx, .xls, .xlsx, 
> .ppt and/or .pptx
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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