]> git.saurik.com Git - wxWidgets.git/commitdiff
documented wxURLDataObject
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Aug 2006 13:47:22 +0000 (13:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Aug 2006 13:47:22 +0000 (13:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/category.tex
docs/latex/wx/classes.tex
docs/latex/wx/urldataob.tex [new file with mode: 0644]

index a4843b42e2fe1988ef1a254f4ec98d17c20b8847..1a6ceda2645e9f54cb01170e7eb59b1bcee6f091 100644 (file)
@@ -475,6 +475,7 @@ facilities.
 \twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
 \twocolitem{\helpref{wxFileDataObject}{wxfiledataobject}}{File data object class}
 \twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
+\twocolitem{\helpref{wxURLDataObject}{wxurldataobject}}{URL data object class}
 \twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class}
 \twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}
 \twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
index 4c8ef856741f9e4938b71488d89fcc1293e363f5..40f5af0b1a48b823b2209271ac6db85f8cdd0d26 100644 (file)
 \input upduievt.tex
 \input uri.tex
 \input url.tex
+\input urldataob.tex
 \input validatr.tex
 \input variant.tex
 \input view.tex
diff --git a/docs/latex/wx/urldataob.tex b/docs/latex/wx/urldataob.tex
new file mode 100644 (file)
index 0000000..688ed26
--- /dev/null
@@ -0,0 +1,66 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name:        urldataob.tex
+%% Purpose:     wxURLDataObject documentation
+%% Author:      Vadim Zeitlin
+%% Created:     2006-08-23
+%% RCS-ID:      $Id$
+%% Copyright:   (c) 2006 Vadim Zeitlin
+%% License:     wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxURLDataObject}}\label{wxurldataobject}
+
+wxURLDataObject is a \helpref{wxDataObject}{wxdataobject} containing an URL
+and can be used e.g. when you need to put an URL on or retrieve it from the
+clipboard:
+\begin{verbatim}
+    wxTheClipboard->SetData(new wxURLDataObject(url));
+\end{verbatim}
+
+
+\wxheading{Derived from}
+
+Under MSW:
+
+\helpref{wxDataObjectComposite}{wxdataobjectcomposite}\\
+\helpref{wxDataObject}{wxdataobject}
+
+Under the other platforms:
+
+\helpref{wxTextDataObject}{wxtextdataobject}\\
+\helpref{wxDataObjectSimple}{wxdataobjectsimple}\\
+\helpref{wxDataObject}{wxdataobject}
+
+\wxheading{Include files}
+
+<wx/dataobj.h>
+
+\wxheading{See also}
+
+\helpref{Clipboard and drag and drop overview}{wxdndoverview},\\
+\helpref{wxDataObject}{wxdataobject}
+
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxURLDataObject::wxURLDataObject}\label{wxurldataobjectctor}
+
+\func{}{wxURLDataObject}{\param{const wxString\& }{url = wxEmptyString}}
+
+Constructor, may be used to initialize the URL. If \arg{url} is empty, 
+\helpref{SetURL}{wxurldataobjectseturl} can be used later.
+
+
+\membersection{wxURLDataObject::GetURL}\label{wxurldataobjectgeturl}
+
+\constfunc{wxString}{GetURL}{\void}
+
+Returns the URL stored by this object, as a string.
+
+
+\membersection{wxURLDataObject::SetURL}\label{wxurldataobjectseturl}
+
+\func{void}{SetURL}{\param{const wxString\& }{url}}
+
+Sets the URL stored by this object.
+