]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/dirdlg.tex
* Someone destroy a part of my previous work. Redocumenting ...
[wxWidgets.git] / docs / latex / wx / dirdlg.tex
1 \section{\class{wxDirDialog}}\label{wxdirdialog}
2
3 This class represents the directory chooser dialog.
4
5 \wxheading{Derived from}
6
7 \helpref{wxDialog}{wxdialog}\\
8 \helpref{wxWindow}{wxwindow}\\
9 \helpref{wxEvtHandler}{wxevthandler}\\
10 \helpref{wxObject}{wxobject}
11
12 \wxheading{See also}
13
14 \helpref{wxDirDialog overview}{wxdirdialogoverview}, \helpref{wxFileDialog}{wxfiledialog}
15
16 \latexignore{\rtfignore{\wxheading{Members}}}
17
18 \membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogconstr}
19
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}}
22
23 Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show the dialog.
24
25 \wxheading{Parameters}
26
27 \docparam{parent}{Parent window.}
28
29 \docparam{message}{Message to show on the dialog.}
30
31 \docparam{defaultPath}{The default path, or the empty string.}
32
33 \docparam{style}{A dialog style, currently unused.}
34
35 \docparam{pos}{Dialog position. Not implemented.}
36
37 \membersection{wxDirDialog::\destruct{wxDirDialog}}
38
39 \func{}{\destruct{wxDirDialog}}{\void}
40
41 Destructor.
42
43 \membersection{wxDirDialog::GetPath}\label{wxdirdialoggetpath}
44
45 \constfunc{wxString}{GetPath}{\void}
46
47 Returns the default or user-selected path.
48
49 \membersection{wxDirDialog::GetMessage}\label{wxdirdialoggetmessage}
50
51 \constfunc{wxString}{GetMessage}{\void}
52
53 Returns the message that will be displayed on the dialog.
54
55 \membersection{wxDirDialog::GetStyle}\label{wxdirdialoggetstyle}
56
57 \constfunc{long}{GetStyle}{\void}
58
59 Returns the dialog style.
60
61 \membersection{wxDirDialog::SetMessage}\label{wxdirdialogsetmessage}
62
63 \func{void}{SetMessage}{\param{const wxString\& }{message}}
64
65 Sets the message that will be displayed on the dialog.
66
67 \membersection{wxDirDialog::SetPath}\label{wxdirdialogsetpath}
68
69 \func{void}{SetPath}{\param{const wxString\& }{path}}
70
71 Sets the default path.
72
73 \membersection{wxDirDialog::SetStyle}\label{wxdirdialogsetstyle}
74
75 \func{void}{SetStyle}{\param{long }{style}}
76
77 Sets the dialog style. This is currently unused.
78
79 \membersection{wxDirDialog::ShowModal}\label{wxdirdialogshowmodal}
80
81 \func{int}{ShowModal}{\void}
82
83 Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL
84 otherwise.
85
86