wx.HTMLDataObject¶wx.HTMLDataObject is used for working with HTML-formatted text.
See also
wx.DataObject, wx.DataObjectSimple
Class Hierarchy¶
Inheritance diagram for class HTMLDataObject:

Methods Summary¶Constructor. |
|
Returns a list of wx.DataFormat objects which this data object |
|
Returns the HTML string. |
|
Sets the HTML string. |
Properties Summary¶See |
|
Class API¶wx.HTMLDataObject(DataObjectSimple)¶Possible constructors:
HTMLDataObject(html="")
HTMLDataObject is used for working with HTML-formatted text.
__init__(self, html="")¶Constructor.
html (string) –
GetAllFormats(self, dir=DataObject.Get)¶Returns a list of wx.DataFormat objects which this data object supports transferring in the given direction.
GetHTML(self)¶Returns the HTML string.
string
SetData(self, format, buf)¶bool
SetHTML(self, html)¶Sets the HTML string.
html (string) –
AllFormats¶See GetAllFormats