tkFileDialog
index
/usr/lib/python2.2/lib-tk/tkFileDialog.py

# Instant Python
# $Id: tkFileDialog.py,v 1.4 2001/11/08 17:51:33 loewis Exp $
#
# tk common file dialogues
#
# this module provides interfaces to the native file dialogues
# available in Tk 4.2 and newer, and the directory dialogue available
# in Tk 8.3 and newer.
#
# written by Fredrik Lundh, May 1997.
#

 
Classes
            
tkCommonDialog.Dialog
Directory
_Dialog
Open
SaveAs
 
class Directory(tkCommonDialog.Dialog)
      Ask for a directory
 
   Methods defined here:
_fixresult(self, widget, result)

Data and non-method functions defined here:
__doc__ = 'Ask for a directory'
__module__ = 'tkFileDialog'
command = 'tk_chooseDirectory'

Methods inherited from tkCommonDialog.Dialog:
__init__(self, master=None, **options)
_fixoptions(self)
show(self, **options)
 
class Open(_Dialog)
      Ask for a filename to open
 
  
Method resolution order:
Open
_Dialog
tkCommonDialog.Dialog

Data and non-method functions defined here:
__doc__ = 'Ask for a filename to open'
__module__ = 'tkFileDialog'
command = 'tk_getOpenFile'

Methods inherited from _Dialog:
_fixoptions(self)
_fixresult(self, widget, result)

Methods inherited from tkCommonDialog.Dialog:
__init__(self, master=None, **options)
show(self, **options)
 
class SaveAs(_Dialog)
      Ask for a filename to save as
 
  
Method resolution order:
SaveAs
_Dialog
tkCommonDialog.Dialog

Data and non-method functions defined here:
__doc__ = 'Ask for a filename to save as'
__module__ = 'tkFileDialog'
command = 'tk_getSaveFile'

Methods inherited from _Dialog:
_fixoptions(self)
_fixresult(self, widget, result)

Methods inherited from tkCommonDialog.Dialog:
__init__(self, master=None, **options)
show(self, **options)
 
class _Dialog(tkCommonDialog.Dialog)
       
   Methods defined here:
_fixoptions(self)
_fixresult(self, widget, result)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'tkFileDialog'

Methods inherited from tkCommonDialog.Dialog:
__init__(self, master=None, **options)
show(self, **options)

Data and non-method functions inherited from tkCommonDialog.Dialog:
command = None
 
Functions
            
askdirectory(**options)
Ask for a directory, and return the file name
askopenfile(mode='r', **options)
Ask for a filename to open, and returned the opened file
askopenfilename(**options)
Ask for a filename to open
asksaveasfile(mode='w', **options)
Ask for a filename to save as, and returned the opened file
asksaveasfilename(**options)
Ask for a filename to save as
 
Data
             __file__ = '/usr/lib/python2.2/lib-tk/tkFileDialog.pyc'
__name__ = 'tkFileDialog'