+# -*- coding: utf-8 -*-
# CONFIGURATION MANAGEMENT OF EDF VERSION
# ======================================================================
# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
Provides a splash screen. Usage:
Subclass and override 'CreateWidgets()'
In constructor of main window/application call
- - S = SplashScreen(main=self) (if caller is Toplevel)
- - S = SplashScreen(main=self.master) (if caller is Frame)
- - S.quit() after you are done creating your widgets etc.
+ - S = SplashScreen(main=self) (if caller is Toplevel)
+ - S = SplashScreen(main=self.master) (if caller is Frame)
+ - S.quit() after you are done creating your widgets etc.
"""
def __init__(self, master=None,**args):
Toplevel.__init__(self, master, relief='groove',
self.progress = None
self.destroy()
if self.main:
- self.main.update()
- self.main.deiconify()
centerwindow(self.main,parent='sans')
+ self.main.deiconify()