1 \section{\class{wxDirDialog
}}\label{wxdirdialog
}
3 This class represents the directory chooser dialog.
5 \wxheading{Derived from
}
7 \helpref{wxDialog
}{wxdialog
}\\
8 \helpref{wxWindow
}{wxwindow
}\\
9 \helpref{wxEvtHandler
}{wxevthandler
}\\
10 \helpref{wxObject
}{wxobject
}
14 \helpref{wxDirDialog overview
}{wxdirdialogoverview
},
\helpref{wxFileDialog
}{wxfiledialog
}
16 \latexignore{\rtfignore{\wxheading{Members
}}}
18 \membersection{wxDirDialog::wxDirDialog
}\label{wxdirdialogconstr
}
20 \func{}{wxDirDialog
}{\param{wxWindow*
}{parent
},
\param{const wxString\&
}{message = "Choose a directory"
},
\rtfsp
21 \param{const wxString\&
}{defaultPath = ""
},
\param{long
}{style =
0},
\param{const wxPoint\&
}{pos = wxDefaultPosition
}}
23 Constructor. Use
\helpref{wxDirDialog::ShowModal
}{wxdirdialogshowmodal
} to show the dialog.
25 \wxheading{Parameters
}
27 \docparam{parent
}{Parent window.
}
29 \docparam{message
}{Message to show on the dialog.
}
31 \docparam{defaultPath
}{The default path, or the empty string.
}
33 \docparam{style
}{A dialog style, currently unused.
}
35 \docparam{pos
}{Dialog position. Not implemented.
}
37 \membersection{wxDirDialog::
\destruct{wxDirDialog
}}
39 \func{}{\destruct{wxDirDialog
}}{\void}
43 \membersection{wxDirDialog::GetPath
}\label{wxdirdialoggetpath
}
45 \constfunc{wxString
}{GetPath
}{\void}
47 Returns the default or user-selected path.
49 \membersection{wxDirDialog::GetMessage
}\label{wxdirdialoggetmessage
}
51 \constfunc{wxString
}{GetMessage
}{\void}
53 Returns the message that will be displayed on the dialog.
55 \membersection{wxDirDialog::GetStyle
}\label{wxdirdialoggetstyle
}
57 \constfunc{long
}{GetStyle
}{\void}
59 Returns the dialog style.
61 \membersection{wxDirDialog::SetMessage
}\label{wxdirdialogsetmessage
}
63 \func{void
}{SetMessage
}{\param{const wxString\&
}{message
}}
65 Sets the message that will be displayed on the dialog.
67 \membersection{wxDirDialog::SetPath
}\label{wxdirdialogsetpath
}
69 \func{void
}{SetPath
}{\param{const wxString\&
}{path
}}
71 Sets the default path.
73 \membersection{wxDirDialog::SetStyle
}\label{wxdirdialogsetstyle
}
75 \func{void
}{SetStyle
}{\param{long
}{style
}}
77 Sets the dialog style. This is currently unused.
79 \membersection{wxDirDialog::ShowModal
}\label{wxdirdialogshowmodal
}
81 \func{int
}{ShowModal
}{\void}
83 Shows the dialog, returning wxID
\_OK if the user pressed OK, and wxOK
\_CANCEL