********************* wx.PyDataObjectSimple ********************* Inheritance diagram for `wx.PyDataObjectSimple`: | .. inheritance-diagram:: wx.PyDataObjectSimple | Description =========== `wx.PyDataObjectSimple` is a version of `wx.DataObjectSimple `_ that is Python-aware and knows how to reflect calls to its C++ virtual methods to methods in the Python derived class. You should derive from this class and overload `GetDataSize `_, `GetDataHere `_ and `SetData `_ when you need to create your own simple single-format type of `wx.DataObject `_. Derived From ^^^^^^^^^^^^^ * `wx.DataObjectSimple `_ * `wx.DataObject `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(format=wx.FormatInvalid) `wx.PyDataObjectSimple` is a version of `wx.DataObjectSimple `_ that is Python-aware and knows how to reflect calls to its C++ virtual methods to methods in the Python derived class. You should derive from this class and overload `GetDataSize `_, `GetDataHere `_ and `SetData `_ when you need to create your own simple single-format type of `wx.DataObject `_. **Parameters:** * `format` (`wx.DataFormat `_) | **Returns:** `wx.PyDataObjectSimple `_