Phoenix Logo

phoenix_title wx.html.HtmlRenderingState

Selection state is passed to wx.html.HtmlCell.Draw so that it can render itself differently e.g.

when inside text selection or outside it.


class_hierarchy Class Hierarchy

Inheritance diagram for class HtmlRenderingState:


api Class API



class wx.html.HtmlRenderingState(object)

Possible constructors:

HtmlRenderingState()

Selection state is passed to HtmlCell.Draw so that it can render itself differently e.g.


Methods



__init__(self)


GetBgColour(self)
Return type:Colour


GetBgMode(self)
Return type:int


GetFgColour(self)
Return type:Colour


GetSelectionState(self)
Return type: wx.html.HtmlSelectionState


SetBgColour(self, c)
Parameters:c (wx.Colour) –


SetBgMode(self, m)
Parameters:m (int) –


SetFgColour(self, c)
Parameters:c (wx.Colour) –


SetSelectionState(self, s)
Parameters:s (HtmlSelectionState) –

Properties



BgColour

See GetBgColour and SetBgColour



BgMode

See GetBgMode and SetBgMode



FgColour

See GetFgColour and SetFgColour



SelectionState

See GetSelectionState and SetSelectionState