GeezerVison is showing docs.wxpython.org — wx.html.HtmlRenderingStyle — wxPython 4.3.2 Docs
wx.html.HtmlRenderingStyle¶
wx.html.HtmlSelection is data holder with information about text selection.
Allows HTML rendering customizations.
Selection is defined by two positions (beginning and end of the selection) and two leaf(!) cells at these positions.
This class is used when rendering HtmlCells as a callback.
Class Hierarchy¶
Inheritance diagram for class
HtmlRenderingStyle:
Methods Summary¶
Class API¶
-
class wx.html.HtmlRenderingStyle(object)¶
HtmlSelection is data holder with information about text selection.
Methods¶
-
GetSelectedTextBgColour(self, clr)¶
Returns the colour to use for the selected text’s background.
- Parameters:
clr (wx.Colour)
- Return type:
Colour
-
GetSelectedTextColour(self, clr)¶
Returns the colour to use for the selected text.
- Parameters:
clr (wx.Colour)
- Return type:
Colour