On Thu, 22 Jun 2006 12:05:43 +0200 Olivier Feys <[EMAIL PROTECTED]> wrote:
> Thank you for answering me Michael, > > Maybe my question is not well asked : > > Is it possible to launch an other thread, for example : > > - at the beginning of the application, before all the needed imports, a > small window appears and displays informations or animations (gif) ? Do you mean some kind of "splash screen"? In this case try something like this: from Tkinter import * root = Tk() root.withdraw() splash = Toplevel() # fill the Toplevel with other widgets and perform # other maybe time consuming things splash.destroy() root.deiconify() > - the same thing when application is working, this time without hiding > tha main window, but by inserting a small gif in the corner of the > application. > > then you will have to disable all the widgets in the main window that might cause problems if the user clicks on them. For the "busy" icon you could use a Label and set its "image" option to the empty string when the process has finished to make the icon disappear. I hope this helps Michael _______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
