[pygtk] When to Initialize Non-Main Windows?

Thomas Dybdahl Ahle lobais at gmail.com
Fri May 30 21:43:26 WST 2008


tor, 29 05 2008 kl. 23:53 -1000, skrev Casey McGinty:
> Hi,
> 
> Is there a best coding practice for the best point in the program
> execution to initialize secondary PyGtk windows? 
> 
> For example, all the background windows can be created during program
> init, but this might slow down the program startup. The other option
> is to create dialogs on first access, however it might introduce some
> delay in the GUI.
> 

> What is the general conscientious on this, if there is any?

I think you should try what works best in your program.
You could also try to load them in the background after the program has
started.

-- 
Best Regards,
Med Venlig Hilsen,
Thomas



More information about the pygtk mailing list