how to bind a command to the open button
susan
silverbeach06 at gmail.com
Thu Dec 14 14:36:56 EST 2006
Thank you very much, after I asked the question, I realized it has a
simple answer, exactly in your reply:)
hg wrote:
> susan wrote:
>
> > 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!
>
> why don't you add the result "file" to the list ?
More information about the Python-list
mailing list