wx.DirDialog Class Reference

Inheritance diagram for wx.DirDialog:

wx.Dialog wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

 DirDialog (Window parent, wxString message, wxString defaultPath, wx.WindowStyles style, int posX, int posY, int width, int height, wxString name)
 DirDialog (Window parent, string message, string defaultPath, wx.WindowStyles style, Point pos, Size size, string name)
 DirDialog (Window parent, string message, string defaultPath, wx.WindowStyles style, Point pos, Size size)
 DirDialog (Window parent, string message, string defaultPath, wx.WindowStyles style, Point pos)
 DirDialog (Window parent, string message, string defaultPath, wx.WindowStyles style)
 DirDialog (Window parent, string message, string defaultPath)
 DirDialog (Window parent, string message)
 DirDialog (Window parent)
 DirDialog (IntPtr wxObject)
override ShowModalResult ShowModal ()

Properties

string Message [get, set]
string Path [get, set]
wx.WindowStyles Style [get, set]


Detailed Description

A dialog to ask for either one or many directories.

If appropriate, you may use the DirSelector instead. Available styles:
wx.WindowStyles.DD_DEFAULT_STYLEEquivalent to a combination of wxDEFAULT_DIALOG_STYLE and wxRESIZE_BORDER (the last one is not used under wxWinCE).
wx.WindowStyles.DD_DIR_MUST_EXISTThe 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.
wx.WindowStyles.DD_CHANGE_DIRChange the current working directory to the directory chosen by the user.

NB: on Windows the new directory button is only available with recent versions of the common dialogs.


Constructor & Destructor Documentation

wx.DirDialog.DirDialog ( IntPtr  wxObject  ) 

wx.DirDialog.DirDialog ( Window  parent  ) 

wx.DirDialog.DirDialog ( Window  parent,
string  message 
)

wx.DirDialog.DirDialog ( Window  parent,
string  message,
string  defaultPath 
)

wx.DirDialog.DirDialog ( Window  parent,
string  message,
string  defaultPath,
wx.WindowStyles  style 
)

wx.DirDialog.DirDialog ( Window  parent,
string  message,
string  defaultPath,
wx.WindowStyles  style,
Point  pos 
)

wx.DirDialog.DirDialog ( Window  parent,
string  message,
string  defaultPath,
wx.WindowStyles  style,
Point  pos,
Size  size 
)

wx.DirDialog.DirDialog ( Window  parent,
string  message,
string  defaultPath,
wx.WindowStyles  style,
Point  pos,
Size  size,
string  name 
)

wx.DirDialog.DirDialog ( Window  parent,
wxString  message,
wxString  defaultPath,
wx.WindowStyles  style,
int  posX,
int  posY,
int  width,
int  height,
wxString  name 
)


Member Function Documentation

override ShowModalResult wx.DirDialog.ShowModal (  )  [virtual]

Reimplemented from wx.Dialog.


Property Documentation

string wx.DirDialog.Message [get, set]

string wx.DirDialog.Path [get, set]

The path that has been selected.

wx.WindowStyles wx.DirDialog.Style [get, set]


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads