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:

method_summary Methods Summary

__init__

GetBgColour

GetBgMode

GetFgColour

GetSelectionState

SetBgColour

SetBgMode

SetFgColour

SetSelectionState


property_summary Properties Summary

BgColour

See GetBgColour and SetBgColour

BgMode

See GetBgMode and SetBgMode

FgColour

See GetFgColour and SetFgColour

SelectionState

See GetSelectionState and SetSelectionState


api Class API

class wx.html.HtmlRenderingState(object)

Possible constructors:

HtmlRenderingState() -> None

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


Methods

__init__(self)
Return type:

None



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 : Colour)
Parameters:

c (wx.Colour) –

Return type:

None



SetBgMode(self, m : int)
Parameters:

m (int) –

Return type:

None



SetFgColour(self, c : Colour)
Parameters:

c (wx.Colour) –

Return type:

None



SetSelectionState(self, s : HtmlSelectionState)
Parameters:

s (HtmlSelectionState) –

Return type:

None


Properties

BgColour

See GetBgColour and SetBgColour



BgMode

See GetBgMode and SetBgMode



FgColour

See GetFgColour and SetFgColour



SelectionState

See GetSelectionState and SetSelectionState