Table of Contents

Class: File_Selection_Dialog VolumeViewer/grid_files/filedialog.py

Argument file_types is a list of pairs of menu text and type names. The callback argument is passed the file selection dialog as an argument. From the file selection dialog the paths and file type can be obtained. It is the job of the callback to close the file dialog (with d.close()). This allows the dialog to stay open if the selected file is of the wrong type and the user will likely want to choose another file.

Methods   
__init__
close
file_type
ok_cb
selected_paths
show
show_message
update_list_cb
  __init__ 
__init__ (
        self,
        title,
        directory,
        file_types,
        callback,
        )

  close 
close ( self )

  file_type 
file_type ( self )

  ok_cb 
ok_cb ( self )

  selected_paths 
selected_paths ( self )

  show 
show ( self,  show )

  show_message 
show_message ( self,  message )

  update_list_cb 
update_list_cb ( self )


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:45 2003 by HappyDoc version 2.1