| Home | Trees | Index | Help |
|
|---|
| Package wx :: Class DirDialog |
|
object--+ |Object--+ |EvtHandler--+ |Window--+ |TopLevelWindow--+ |Dialog--+ | DirDialog
wx.DirDialog allows the user to select a directory by browising the file system.
wx.DD_DEFAULT_STYLE Equivalent to a combination of wx.DEFAULT_DIALOG_STYLE, wx.DD_NEW_DIR_BUTTON and wx.RESIZE_BORDER. wx.DD_DIR_MUST_EXIST The dialog will allow the user to choose only an existing folder. When this style is not given, a 'Create new directory' button is added to the dialog (on Windows) or some other way is provided to the user to type the name of a new folder. Use this instead of deprecated wx.DD_NEW_DIR_BUTTON. wx.DD_CHANGE_DIR Change the current working directory to the directory chosen by the user.
| Method Summary | |
|---|---|
| DirDialog |
Constructor. |
| String |
Returns the message that will be displayed on the dialog. |
| String |
Returns the default or user-selected path. |
Sets the message that will be displayed on the dialog. | |
Sets the default path. | |
| Property Summary | |
|---|---|
Message: See GetMessage and SetMessage | |
Path: See GetPath and SetPath | |
thisown: The membership flag | |
| Class Variable Summary |
|---|
| Instance Method Details |
|---|
__init__(self,
parent,
message=DirSelectorPromptStr,
defaultPath=EmptyString,
style=DD_DEFAULT_STYLE,
pos=DefaultPosition,
size=DefaultSize,
name=DirDialogNameStr)
|
GetMessage(self)Returns the message that will be displayed on the dialog.
|
GetPath(self)Returns the default or user-selected path.
|
SetMessage(self, message)Sets the message that will be displayed on the dialog.
|
SetPath(self, path)Sets the default path.
|
| Property Details |
|---|
MessageSee
|
Path |
thisownThe membership flag |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:07:24 2007 | http://epydoc.sf.net |