wx.HTMLDataObject is used for working with HTML-formatted text.
See also
wx.DataObject, wx.DataObjectSimple
Constructor. |
|
Returns a list of wx.DataFormat objects which this data object |
|
Returns the HTML string. |
|
Sets the HTML string. |
See |
|
wx.
HTMLDataObject
(DataObjectSimple)¶Possible constructors:
HTMLDataObject(html: str='') -> None
HTMLDataObject is used for working with HTML-formatted text.
__init__
(self, html: str='')¶Constructor.
html (string) –
None
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.
str
SetData
(self, format: DataFormat, buf: PyBuffer)¶bool
SetHTML
(self, html : str)¶Sets the HTML string.
html (string) –
None
AllFormats
¶See GetAllFormats