how to bind a command to the open button

susan silverbeach06 at gmail.com
Tue Dec 12 12:37:18 EST 2006


Hi,
 Anybody knows how to bind a command to the open button at a file
browser dialog? I want to add selected files to a scrolllist.

Like this:

def browseFile(self):

        file = askopenfilename(filetypes = [("TDF Files", "*.TDF"),
("All Files", "*.*")],multiple=1)
        
        ?.....

Thanks!




More information about the Python-list mailing list