__init__(self,
parent,
field=None,
message=wx.DirSelectorPromptStr,
defaultPath=wx.EmptyString,
style=wx.DD_DEFAULT_STYLE | wx.DD_NEW_DIR_BUTTON,
pos=wx.DefaultPosition,
size=wx.DefaultSize,
name=wx.DirDialogNameStr)
(Constructor)
| source code
|
Setup the class and store the field.
- Parameters:
parent (Window) - The parent wx window object.
field (wx object or None) - The field to update with the file selection.
message (String) - The path selector prompt string.
defaultPath (String) - The default directory to open in.
style (long) - The dialog style.
pos (Point) - The window position.
size (Size) - The default window size.
name (String) - The title for the dialog.
|