Inheritance diagram for wx.DataObjectSimple:
This is the simplest possible implementation of the wx.DataObject class. The data object of (a class derived from) this class only supports one format, so the number of virtual functions to be implemented is reduced.
Note
This is still an abstract base class and cannot be used but should be derived from.
Warning
If you wish to create a derived wx.DataObjectSimple class in wxPython you should derive the class from wx.PyDataObjectSimple in order to get Python-aware capabilities for the various virtual methods.
Constructor accepts the supported format (None by default) which may also be set later with SetFormat.
Parameters:
Returns:
Returns the (one and only one) format supported by this object. It is supposed that the format is supported in both directions.
Parameters:
Returns:
Sets the supported format.
Parameters: