wx.DataObjectComposite

Inheritance diagram for 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.

Derived From

Methods Summary

Properties Summary

Class API

Methods

__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


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

ReceivedFormat
See GetReceivedFormat