Phoenix Logo

phoenix_title wx.HTMLDataObject

wx.HTMLDataObject is used for working with HTML-formatted text.


class_hierarchy Class Hierarchy

Inheritance diagram for class HTMLDataObject:


method_summary Methods Summary

__init__ Constructor.
GetAllFormats Returns a list of wx.DataFormat objects which this data object
GetHTML Returns the HTML string.
SetData  
SetHTML Sets the HTML string.

property_summary Properties Summary

AllFormats See GetAllFormats
HTML See GetHTML and SetHTML

api Class API



class wx.HTMLDataObject(DataObjectSimple)

Possible constructors:

HTMLDataObject(html="")

HTMLDataObject is used for working with HTML-formatted text.


Methods



__init__(self, html="")

Constructor.

Parameters: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.

Return type:string


SetData(self, format, buf)
Return type:bool


SetHTML(self, html)

Sets the HTML string.

Parameters:html (string) –

Properties



AllFormats

See GetAllFormats



HTML

See GetHTML and SetHTML