In the FileDialog module there are both LoadFileDialog and SaveFileDialog. Is
the latter what you want?
Jeff
pgptzMbfYw5VI.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
thank you very much,
I have one more question that is tk related, I've use tkfileopendialog
or whatever that name is to select files is there also a dialog for
creating files, well not really creating them but allowing the same
look and feel as many porgrams give for saving files? is there also
Forgot to answer the "better" part:
class optFrame(Frame):
def __init__(self, *args, **kwargs):
Frame.__init__(self, *args, **kwargs)
self.pack()
self.make_widgets()
def make_widgets(self):
"""
Put widgets here.
"""
pass
def main():
tk = Tk()
opt
optWin() will create a callable object which is an instance of the class
optWin. Calling this callable object will call the __call__() method with the
behavior you anticipate. You also need to import Tk from Tkinter and call Tk
"Tk" and not "tk".
Meditate on the following :
from Tkinter impor