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
}
28 Under the other platforms:
30 \helpref{wxTextDataObject
}{wxtextdataobject
}\\
31 \helpref{wxDataObjectSimple
}{wxdataobjectsimple
}\\
32 \helpref{wxDataObject
}{wxdataobject
}
34 \wxheading{Include files
}
40 \helpref{wxCore
}{librarieslist
}
44 \helpref{Clipboard and drag and drop overview
}{wxdndoverview
},\\
45 \helpref{wxDataObject
}{wxdataobject
}
48 \latexignore{\rtfignore{\wxheading{Members
}}}
50 \membersection{wxURLDataObject::wxURLDataObject
}\label{wxurldataobjectctor
}
52 \func{}{wxURLDataObject
}{\param{const wxString\&
}{url = wxEmptyString
}}
54 Constructor, may be used to initialize the URL. If
\arg{url
} is empty,
55 \helpref{SetURL
}{wxurldataobjectseturl
} can be used later.
58 \membersection{wxURLDataObject::GetURL
}\label{wxurldataobjectgeturl
}
60 \constfunc{wxString
}{GetURL
}{\void}
62 Returns the URL stored by this object, as a string.
65 \membersection{wxURLDataObject::SetURL
}\label{wxurldataobjectseturl
}
67 \func{void
}{SetURL
}{\param{const wxString\&
}{url
}}
69 Sets the URL stored by this object.