**************** wx.URLDataObject **************** Inheritance diagram for `wx.URLDataObject`: | .. inheritance-diagram:: wx.URLDataObject | Description =========== `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)) .. seealso:: `wx.DataObject `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetURL <#GetURL>`_ * `SetURL <#SetURL>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `URL <#URL>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(url="") This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them. If `url` is empty, `SetURL <#SetURL>`_ can be used later. **Parameters:** * `url` (string) | **Returns:** `wx.URLDataObject `_ -------- .. method:: GetURL() Returns the URL stored by this object, as a string. | **Returns:** `string` -------- .. method:: SetURL(url) Sets the URL stored by this object. **Parameters:** * `url` (string) -------- Properties ^^^^^^^^^^ .. attribute:: URL See `GetURL <#GetURL>`_ and `SetURL <#SetURL>`_