wx._windows.FileDialog
wx.FileDialog allows the user to select one or more files from the
filesystem.
GetDirectory(args, kwargs)
GetDirectory(self) -> String
Returns the default directory.
GetFilename(args, kwargs)
GetFilename(self) -> String
Returns the default filename.
GetFilenames(args, kwargs)
GetFilenames(self) -> PyObject
Returns a list of filenames chosen in the dialog. This function
should only be used with the dialogs which have wx.MULTIPLE style, use
GetFilename for the others.
GetFilterIndex(args, kwargs)
GetFilterIndex(self) -> int
Returns the index into the list of filters supplied, optionally, in
the wildcard parameter. Before the dialog is shown, this is the index
which will be used when the dialog is first displayed. After the
dialog is shown, this is the index selected by the user.
GetMessage(args, kwargs)
GetMessage(self) -> String
Returns the message that will be displayed on the dialog.
GetPath(args, kwargs)
GetPath(self) -> String
Returns the full path (directory and filename) of the selected file.
GetPaths(args, kwargs)
GetPaths(self) -> PyObject
Fills the array paths with the full paths of the files chosen. This
function should only be used with the dialogs which have wx.MULTIPLE
style, use GetPath for the others.
GetStyle(args, kwargs)
GetStyle(self) -> long
Returns the dialog style.
GetWildcard(args, kwargs)
GetWildcard(self) -> String
Returns the file dialog wildcard.
SetDirectory(args, kwargs)
SetDirectory(self, String dir)
Sets the default directory.
SetFilename(args, kwargs)
SetFilename(self, String name)
Sets the default filename.
SetFilterIndex(args, kwargs)
SetFilterIndex(self, int filterIndex)
Sets the default filter index, starting from zero.
SetMessage(args, kwargs)
SetMessage(self, String message)
Sets the message that will be displayed on the dialog.
SetPath(args, kwargs)
SetPath(self, String path)
Sets the path (the combined directory and filename that will be
returned when the dialog is dismissed).
SetStyle(args, kwargs)
SetStyle(self, long style)
Sets the dialog style.
SetWildcard(args, kwargs)
SetWildcard(self, String wildCard)
Sets the wildcard, which can contain multiple file types, for
example::
"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
[constructor]
Usage: classname(arguments)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to
[operator 'repr']
Usage: repr(a)