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
}
12 \wxheading{Include files
}
18 \helpref{wxDirDialog overview
}{wxdirdialogoverview
},
\helpref{wxFileDialog
}{wxfiledialog
}
20 \latexignore{\rtfignore{\wxheading{Members
}}}
22 \membersection{wxDirDialog::wxDirDialog
}\label{wxdirdialogconstr
}
24 \func{}{wxDirDialog
}{\param{wxWindow*
}{parent
},
\param{const wxString\&
}{message = "Choose a directory"
},
\rtfsp
25 \param{const wxString\&
}{defaultPath = ""
},
\param{long
}{style =
0},
\param{const wxPoint\&
}{pos = wxDefaultPosition
}}
27 Constructor. Use
\helpref{wxDirDialog::ShowModal
}{wxdirdialogshowmodal
} to show the dialog.
29 \wxheading{Parameters
}
31 \docparam{parent
}{Parent window.
}
33 \docparam{message
}{Message to show on the dialog.
}
35 \docparam{defaultPath
}{The default path, or the empty string.
}
37 \docparam{style
}{A dialog style, currently unused.
}
39 \docparam{pos
}{Dialog position. Not implemented.
}
41 \membersection{wxDirDialog::
\destruct{wxDirDialog
}}
43 \func{}{\destruct{wxDirDialog
}}{\void}
47 \membersection{wxDirDialog::GetPath
}\label{wxdirdialoggetpath
}
49 \constfunc{wxString
}{GetPath
}{\void}
51 Returns the default or user-selected path.
53 \membersection{wxDirDialog::GetMessage
}\label{wxdirdialoggetmessage
}
55 \constfunc{wxString
}{GetMessage
}{\void}
57 Returns the message that will be displayed on the dialog.
59 \membersection{wxDirDialog::GetStyle
}\label{wxdirdialoggetstyle
}
61 \constfunc{long
}{GetStyle
}{\void}
63 Returns the dialog style.
65 \membersection{wxDirDialog::SetMessage
}\label{wxdirdialogsetmessage
}
67 \func{void
}{SetMessage
}{\param{const wxString\&
}{message
}}
69 Sets the message that will be displayed on the dialog.
71 \membersection{wxDirDialog::SetPath
}\label{wxdirdialogsetpath
}
73 \func{void
}{SetPath
}{\param{const wxString\&
}{path
}}
75 Sets the default path.
77 \membersection{wxDirDialog::SetStyle
}\label{wxdirdialogsetstyle
}
79 \func{void
}{SetStyle
}{\param{long
}{style
}}
81 Sets the dialog style. This is currently unused.
83 \membersection{wxDirDialog::ShowModal
}\label{wxdirdialogshowmodal
}
85 \func{int
}{ShowModal
}{\void}
87 Shows the dialog, returning wxID
\_OK if the user pressed OK, and wxOK
\_CANCEL