GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.CustomDataObject — wxPython 4.3.2 Docs
|
The constructor accepts a format argument which specifies the (single) format supported by this object. |
|
Returns a list of wx.DataFormat objects which this data object |
|
Returns a reference to the data buffer. |
|
Returns the data size in bytes. |
|
Copies data from the provided buffer to this data object’s buffer |
Properties Summary¶See |
|
See |
Class API¶Possible constructors:
CustomDataObject(format=FormatInvalid) -> None CustomDataObject(formatName) -> None
CustomDataObject is a specialization of DataObjectSimple for some application-specific data in arbitrary (either custom or one of the standard ones).
__init__ (self, format=FormatInvalid)
The constructor accepts a format argument which specifies the (single) format supported by this object.
If it isn’t set here, wx.DataObjectSimple.SetFormat should be used.
format (wx.DataFormat)
None
__init__ (self, formatName)
None
Returns a list of wx.DataFormat objects which this data object supports transferring in the given direction.
Any
Returns a reference to the data buffer.
Any
Returns the data size in bytes.
int
SetData (self, buf)
Copies data from the provided buffer to this data object’s buffer
bool
SetData (self, format, buf)
bool
See GetAllFormats