]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/urldataob.tex
interface headers reviewed
[wxWidgets.git] / docs / latex / wx / urldataob.tex
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
13 wxURLDataObject is a \helpref{wxDataObject}{wxdataobject} containing an URL
14 and can be used e.g. when you need to put an URL on or retrieve it from the
15 clipboard:
16 \begin{verbatim}
17 wxTheClipboard->SetData(new wxURLDataObject(url));
18 \end{verbatim}
19
20
21 \wxheading{Derived from}
22
23 Under MSW:
24
25 \helpref{wxDataObjectComposite}{wxdataobjectcomposite}\\
26 \helpref{wxDataObject}{wxdataobject}
27
28 Under GTK+
29
30 \helpref{wxDataObjectComposite}{wxdataobjectsimple}\\
31 \helpref{wxDataObject}{wxdataobject}
32
33 Under the other platforms:
34
35 \helpref{wxTextDataObject}{wxtextdataobject}\\
36 \helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
37 \helpref{wxDataObject}{wxdataobject}
38
39 \wxheading{Include files}
40
41 <wx/dataobj.h>
42
43 \wxheading{Library}
44
45 \helpref{wxCore}{librarieslist}
46
47 \wxheading{See also}
48
49 \helpref{Clipboard and drag and drop overview}{wxdndoverview},\\
50 \helpref{wxDataObject}{wxdataobject}
51
52
53 \latexignore{\rtfignore{\wxheading{Members}}}
54
55 \membersection{wxURLDataObject::wxURLDataObject}\label{wxurldataobjectctor}
56
57 \func{}{wxURLDataObject}{\param{const wxString\& }{url = wxEmptyString}}
58
59 Constructor, may be used to initialize the URL. If \arg{url} is empty,
60 \helpref{SetURL}{wxurldataobjectseturl} can be used later.
61
62
63 \membersection{wxURLDataObject::GetURL}\label{wxurldataobjectgeturl}
64
65 \constfunc{wxString}{GetURL}{\void}
66
67 Returns the URL stored by this object, as a string.
68
69
70 \membersection{wxURLDataObject::SetURL}\label{wxurldataobjectseturl}
71
72 \func{void}{SetURL}{\param{const wxString\& }{url}}
73
74 Sets the URL stored by this object.
75