[Tutor] How do I make a text box pop up in a GUI before the mainpart of the program loads?

Nathan Pinno falcon3166 at hotmail.com
Sat Nov 12 18:59:41 CET 2005


Actually, I'm going to be using Pygame. I need to know, because I want to pop up a polite explanation of how to play the game and a reminder.
Nathan Pinno
  ----- Original Message ----- 
  From: Alan Gauld<mailto:alan.gauld at freenet.co.uk> 
  To: Nathan Pinno<mailto:falcon3166 at hotmail.com> ; tutor at python.org<mailto:tutor at python.org> 
  Sent: November 12, 2005 10:47 AM
  Subject: Re: [Tutor] How do I make a text box pop up in a GUI before the mainpart of the program loads?


  > How do I make a text box pop up in a GUI before the main part of the 
  > program
  > loads?

  Do you mean like a splash screen?

  If you are using Tkinter you can use a TopLevel widget to create and display
  the splash screen before you pack the main application window.

  If its only a simple message box type display then use the standard dialogs
  that Tkinter provides. Those work regardless of whether the Tkinter 
  environment
  is initialised.

  HTH,

  Alan G
  Author of the learn to program web tutor
  http://www.freenetpages.co.uk/hp/alan.gauld<http://www.freenetpages.co.uk/hp/alan.gauld>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20051112/1a07d7ea/attachment.htm


More information about the Tutor mailing list