| shamil 2005-06-07, 8:58 pm |
| I would like to create an application in Tk that allows users to create
menu buttons and radio buttons and perform certain operations. When
started for the fist time the user could be prompted to input how many
radio buttons and menu button he wants. Each time a button is created,
he decides whatever name '-text' he wants to call it, and later be able
to delete buttons or add new ones. If the application is launched
again, I need the previous button settings and their names to reload
exactly as before the application was terminated. One option I can
think of is to have the application create a text file and save the
button types and settings for later use when the application is
launched again. However, to me this does not sound very professional
and there might be better ways to doing this, such as finding a way to
save the settings in the application script itself, if possible. If
someone can point me to the right direction or give me a few hints or
suggestions, I would appreciate it.
/sd
|