phoenix_title 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.

See also

wx.html.HtmlRenderingInfo


class_hierarchy Class Hierarchy

Inheritance diagram for class HtmlRenderingStyle:

method_summary Methods Summary

GetSelectedTextBgColour

Returns the colour to use for the selected text’s background.

GetSelectedTextColour

Returns the colour to use for the selected text.


api 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