gui - wait for dialog to close

Ajay abra9823 at mail.usyd.edu.au
Fri Sep 17 07:28:08 EDT 2004


hi!

i have an application which requires a username
what i am trying to do is when the application runs, a dialog window
appears which prompts the user for his name. once thats entered, the
dialog box is destroyed, the username stored and the application gui is
drawn

i tried doing this by adding a wait_window call in my application GUI's
init.
the idea was to suspend execution till the username is entered and the
dialog box destroyed before continuing.

that didn't work
how can i do this? i have the option of creating the dialog box and when
the username is entered then in the function that handles the username,
create the rest of the GUI. i was wondering if there is any other way

thanks

cheers




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Python-list mailing list