wx.HTMLDataObject¶
wx.HTMLDataObject is used for working with HTML-formatted text.
See also
Class Hierarchy¶
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¶
- class wx.HTMLDataObject(DataObjectSimple)¶
Possible constructors:
HTMLDataObject(html='') -> None
HTMLDataObject is used for working with HTML-formatted text.
Methods¶
- __init__(self, html='')¶
Constructor.
- Parameters:
html (string)
- Return type:
None
- GetAllFormats(self, dir=DataObject.Get)¶
Returns a list of wx.DataFormat objects which this data object supports transferring in the given direction.
- Return type:
Any
- GetHTML(self)¶
Returns the HTML string.
- Return type:
str
- SetData(self, format, buf)¶
- Return type:
bool
- SetHTML(self, html)¶
Sets the HTML string.
- Parameters:
html (string)
- Return type:
None
Properties¶
- AllFormats¶
See
GetAllFormats