wx.URLDataObject is a wx.DataObject containing an URL and can be used e.g.
when you need to put an URL on or retrieve it from the clipboard:
wx.TheClipboard.SetData(wx.URLDataObject(url))
Note
This class is derived from wx.DataObjectComposite on Windows rather than wx.TextDataObject on all other platforms.
See also
Constructor, may be used to initialize the URL. |
|
Returns a list of wx.DataFormat objects which this data object |
|
Returns the URL stored by this object, as a string. |
|
Sets the URL stored by this object. |
See |
|
Possible constructors:
URLDataObject(url="")
URLDataObject is a DataObject containing an URL and can be used e.g.
Constructor, may be used to initialize the URL.
If url is empty, SetURL
can be used later.
url (string) –
Returns a list of wx.DataFormat objects which this data object supports transferring in the given direction.
Returns the URL stored by this object, as a string.
string
bool
Sets the URL stored by this object.
url (string) –
See GetAllFormats