Package wx :: Class DirDialog
[frames | no frames]

Type DirDialog

object --+                    
         |                    
    Object --+                
             |                
    EvtHandler --+            
                 |            
            Window --+        
                     |        
        TopLevelWindow --+    
                         |    
                    Dialog --+
                             |
                            DirDialog


wx.DirDialog allows the user to select a directory by browising the file system.

Window Styles

wx.DD_NEW_DIR_BUTTON Add 'Create new directory' button and allow directory names to be editable. On Windows the new directory button is only available with recent versions of the common dialogs.

Method Summary
DirDialog __init__(self, parent, message, defaultPath, style, pos, size, name)
Constructor.
  __repr__(self)
String GetMessage(self)
Returns the message that will be displayed on the dialog.
String GetPath(self)
Returns the default or user-selected path.
long GetStyle(self)
Returns the dialog style.
  SetMessage(self, message)
Sets the message that will be displayed on the dialog.
  SetPath(self, path)
Sets the default path.

Instance Method Details

__init__(self, parent, message=DirSelectorPromptStr, defaultPath=EmptyString, style=0, pos=DefaultPosition, size=DefaultSize, name=DirDialogNameStr)
(Constructor)

Constructor. Use ShowModal method to show the dialog.
Parameters:
parent
           (type=Window)
message
           (type=String)
defaultPath
           (type=String)
style
           (type=long)
pos
           (type=Point)
size
           (type=Size)
name
           (type=String)
Returns:
DirDialog
Overrides:
wx.Dialog.__init__

GetMessage(self)

Returns the message that will be displayed on the dialog.
Returns:
String

GetPath(self)

Returns the default or user-selected path.
Returns:
String

GetStyle(self)

Returns the dialog style.
Returns:
long

SetMessage(self, message)

Sets the message that will be displayed on the dialog.
Parameters:
message
           (type=String)

SetPath(self, path)

Sets the default path.
Parameters:
path
           (type=String)

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:06 2005 http://epydoc.sf.net