]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/urldataob.tex
Added logic, API and docs for wxDataViewModel::HasDefaultCompare indicating a compare...
[wxWidgets.git] / docs / latex / wx / urldataob.tex
... / ...
CommitLineData
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: urldataob.tex
3%% Purpose: wxURLDataObject documentation
4%% Author: Vadim Zeitlin
5%% Created: 2006-08-23
6%% RCS-ID: $Id$
7%% Copyright: (c) 2006 Vadim Zeitlin
8%% License: wxWindows license
9%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
11\section{\class{wxURLDataObject}}\label{wxurldataobject}
12
13wxURLDataObject is a \helpref{wxDataObject}{wxdataobject} containing an URL
14and can be used e.g. when you need to put an URL on or retrieve it from the
15clipboard:
16\begin{verbatim}
17 wxTheClipboard->SetData(new wxURLDataObject(url));
18\end{verbatim}
19
20
21\wxheading{Derived from}
22
23Under MSW:
24
25\helpref{wxDataObjectComposite}{wxdataobjectcomposite}\\
26\helpref{wxDataObject}{wxdataobject}
27
28Under the other platforms:
29
30\helpref{wxTextDataObject}{wxtextdataobject}\\
31\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
32\helpref{wxDataObject}{wxdataobject}
33
34\wxheading{Include files}
35
36<wx/dataobj.h>
37
38\wxheading{Library}
39
40\helpref{wxCore}{librarieslist}
41
42\wxheading{See also}
43
44\helpref{Clipboard and drag and drop overview}{wxdndoverview},\\
45\helpref{wxDataObject}{wxdataobject}
46
47
48\latexignore{\rtfignore{\wxheading{Members}}}
49
50\membersection{wxURLDataObject::wxURLDataObject}\label{wxurldataobjectctor}
51
52\func{}{wxURLDataObject}{\param{const wxString\& }{url = wxEmptyString}}
53
54Constructor, may be used to initialize the URL. If \arg{url} is empty,
55\helpref{SetURL}{wxurldataobjectseturl} can be used later.
56
57
58\membersection{wxURLDataObject::GetURL}\label{wxurldataobjectgeturl}
59
60\constfunc{wxString}{GetURL}{\void}
61
62Returns the URL stored by this object, as a string.
63
64
65\membersection{wxURLDataObject::SetURL}\label{wxurldataobjectseturl}
66
67\func{void}{SetURL}{\param{const wxString\& }{url}}
68
69Sets the URL stored by this object.
70