Tkinter- Building a message box
Ron Adam
rrr at ronadam.com
Mon Nov 7 15:57:27 EST 2005
Tuvas wrote:
> Do you have any info on dialogs? I've been trying to find some, without
> alot of success...
>
Be sure and look at the examples in python24/lib/lib-tk. The Dialog.py
file there does pretty much what you want.
In the dialog caller example I gave, it should have been ...
def domydialog(*args, **kwds):
#
# check or change args or kwds
#
d = mydialog(*args, **kwds)
return d.result
I left out the returned object name 'd'. Which is needed to get the
result from the dialog instance.
Cheers,
Ron
More information about the Python-list
mailing list