[Tutor] Tkinter problems
Magnus Lycka
magnus@thinkware.se
Fri Nov 15 04:59:02 2002
At 22:16 2002-11-15 +1300, Thomi Richards wrote:
>I'm hoping someone could help me with Tkinter. I've never done any sort
>of GUI programming before, but I've written a program which needs a
>simple GUI interface. nothing special, just a few "open file" dialog
>boxes, somewhere for me to print output, and a "save as" dialog box.
If you just need a few dialogs that appear in a
predefined order, you might not even need an
event loop. Check out the Python22/Lib/lib-tk
directory, and have a look at the examples in
the end of these files:
tkSimpleDialog.py
tkMessageBox.py
tkFileDialog.py
You can run these files as they are to get a demo.
As you see, they simply return a value like a normal
expression.
"Use the source, Luke!"
I don't think any of these plain dialogs use any
scrolled window though, but lets think about that
later! :)
--
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/ mailto:magnus@thinkware.se