How to open files
wes weston
wweston at att.net
Mon Feb 9 11:23:09 EST 2004
ADE,
bind clicks:
self.FileListBox.bind( "<Double-Button-1>",self.OpenSelectedDoubleClick
get the line:
select_list = self.FileListBox.curselection()
if len( select_list ):
path = self.FileListBox.get( select_list[0] )
ADE wrote:
> Hi I have a Tkinter GUI with a listbox that displays a list of files I would
> like to be able to open those files when I double click on them in there
> default program that opens the files usually
>
> Thanks in advance Cheers
>
>
> Andrew
>
>
>
>
More information about the Python-list
mailing list