GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.html.HtmlRenderingStyle
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx.html

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.html.HtmlRenderingStyle — wxPython 4.3.2 Docs

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:

Inheritance diagram of 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

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.