Package xdp :: Module tkutil :: Class MultiFileDialog
[show private | hide private]
[frames | no frames]

Class MultiFileDialog

FileDialog --+    
             |    
LoadFileDialog --+
                 |
                MultiFileDialog


A file dialog which allows users to select multiple files at once.

Unlike a regular 'LoadFileDialog', this dialog's 'go()' method returns the list of selected files as a tuple.

See the 'FileDialog' module for more information.
Method Summary
  __init__(self, master, title)
Creates a new 'MultiFileDialog' dialog box.
  ok_command(self)
'LoadFileDialog' method overridden to provide support for the selection of multiple files.
    Inherited from FileDialog
  cancel_command(self, event)
  dirs_double_event(self, event)
  dirs_select_event(self, event)
  files_double_event(self, event)
  files_select_event(self, event)
  filter_command(self, event)
  get_filter(self)
  get_selection(self)
  go(self, dir_or_file, pattern, default, key)
  ok_event(self, event)
  quit(self, how)
  set_filter(self, dir, pat)
  set_selection(self, file)

Class Variable Summary
str title = 'Open File(s)'

Method Details

__init__(self, master, title=None)
(Constructor)

Creates a new 'MultiFileDialog' dialog box.

'master' is the Tkinter parent widget. 'title' is the optional window title, which defaults to "Open Files(s)".
Overrides:
FileDialog.FileDialog.__init__

ok_command(self)

'LoadFileDialog' method overridden to provide support for the selection of multiple files.
Overrides:
FileDialog.LoadFileDialog.ok_command

Class Variable Details

title

Type:
str
Value:
'Open File(s)'                                                         

Generated by Epydoc 2.1 on Wed Jul 20 11:51:04 2005 http://epydoc.sf.net