********************** wx.DataObjectComposite ********************** Inheritance diagram for `wx.DataObjectComposite`: | .. inheritance-diagram:: wx.DataObjectComposite | Description =========== `wx.DataObjectComposite` is the simplest `wx.DataObject `_ derivation which may be used to support multiple formats. It contains several `wx.DataObjectSimple `_ objects and supports any format supported by at least one of them. Only one of these data objects is *preferred* and its format determines the preferred format of the composite data object as well. See `wx.DataObject `_ documentation for the reasons why you might prefer to use `wx.DataObject` directly instead of `wx.DataObjectComposite` for efficiency reasons. .. seealso:: `wx.DataObject `_, `wx.DataObjectSimple `_, `wx.FileDataObject `_, `wx.TextDataObject `_, `wx.BitmapDataObject `_ Derived From ^^^^^^^^^^^^^ * `wx.DataObject `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetReceivedFormat <#GetReceivedFormat>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `ReceivedFormat <#ReceivedFormat>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__() `wx.DataObjectComposite` is the simplest `wx.DataObject `_ derivation which may be used to support multiple formats. It contains several 'wx.DataObjectSimple` objects and supports any format supported by at least one of them. Only one of these data objects is *preferred* and its format determines the preferred format of the composite data object as well. | **Returns:** `wx.DataObjectComposite `_ --------- .. method:: GetReceivedFormat() Report the format passed to the `SetData `_ method. This should be the format of the data object within the composite that received data from the clipboard or the DnD operation. You can use this method to find out what kind of data object was received. | **Returns:** `wx.DataFormat `_ -------- Properties ^^^^^^^^^^ .. attribute:: ReceivedFormat See `GetReceivedFormat <#GetReceivedFormat>`_