]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/txtdatob.tex
DnD feedback
[wxWidgets.git] / docs / latex / wx / txtdatob.tex
1 \section{\class{wxTextDataObject}}\label{wxtextdataobject}
2
3 wxTextDataObject is a specialization of wxDataObject for text data.
4
5 \wxheading{Derived from}
6
7 \helpref{wxDataObject}{wxdataobject}
8
9 \wxheading{See also}
10
11 \helpref{wxDataObject}{wxdataobject}
12
13 \latexignore{\rtfignore{\wxheading{Members}}}
14
15 \membersection{wxTextDataObject::wxTextDataObject}\label{wxtextdataobjectwxtextdataobject}
16
17 \func{}{wxTextDataObject}{\void}
18
19 Default constructor.
20
21 \func{}{wxTextDataObject}{\param{const wxString\& }{strText}}
22
23 Constructor, passing text.
24
25 \membersection{wxTextDataObject::GetFormat}\label{wxtextdataobjectgetformat}
26
27 \constfunc{virtual wxDataFormat}{GetFormat}{\void}
28
29 Returns wxDF\_TEXT.
30
31 \membersection{wxTextDataObject::SetText}\label{wxtextdataobjectsettext}
32
33 \func{virtual void}{SetText}{\param{const wxString\& }{strText}}
34
35 Sets the text associated with the data object.
36
37 \membersection{wxTextDataObject::GetText}\label{wxtextdataobjectgettext}
38
39 \constfunc{virtual wxString}{GetText}{\void}
40
41 Returns the text associated with the data object.
42