1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxURLDataObject documentation
4 %% Author: Vadim Zeitlin
7 %% Copyright: (c) 2006 Vadim Zeitlin
8 %% License: wxWindows license
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{\class{wxURLDataObject
}}\label{wxurldataobject
}
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
17 wxTheClipboard->SetData(new wxURLDataObject(url));
21 \wxheading{Derived from
}
25 \helpref{wxDataObjectComposite
}{wxdataobjectcomposite
}\\
26 \helpref{wxDataObject
}{wxdataobject
}
30 \helpref{wxDataObjectComposite
}{wxdataobjectsimple
}\\
31 \helpref{wxDataObject
}{wxdataobject
}
33 Under the other platforms:
35 \helpref{wxTextDataObject
}{wxtextdataobject
}\\
36 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
}\\
37 \helpref{wxDataObject
}{wxdataobject
}
39 \wxheading{Include files
}
45 \helpref{wxCore
}{librarieslist
}
49 \helpref{Clipboard and drag and drop overview
}{wxdndoverview
},\\
50 \helpref{wxDataObject
}{wxdataobject
}
53 \latexignore{\rtfignore{\wxheading{Members
}}}
55 \membersection{wxURLDataObject::wxURLDataObject
}\label{wxurldataobjectctor
}
57 \func{}{wxURLDataObject
}{\param{const wxString\&
}{url = wxEmptyString
}}
59 Constructor, may be used to initialize the URL. If
\arg{url
} is empty,
60 \helpref{SetURL
}{wxurldataobjectseturl
} can be used later.
63 \membersection{wxURLDataObject::GetURL
}\label{wxurldataobjectgeturl
}
65 \constfunc{wxString
}{GetURL
}{\void}
67 Returns the URL stored by this object, as a string.
70 \membersection{wxURLDataObject::SetURL
}\label{wxurldataobjectseturl
}
72 \func{void
}{SetURL
}{\param{const wxString\&
}{url
}}
74 Sets the URL stored by this object.