**********************
wx.html.HtmlColourCell
**********************
Inheritance diagram for `wx.html.HtmlColourCell`:
|
.. inheritance-diagram:: wx.html.HtmlColourCell
|
Description
===========
This cell changes the colour of either the background or the foreground.
Derived From
^^^^^^^^^^^^^
* `wx.html.HtmlCell `_
Methods Summary
^^^^^^^^^^^^^^^
* `__init__ <#__init__>`_
Class API
=========
Methods
^^^^^^^
.. method:: __init__(clr, flags=wx.html.HTML_CLR_FOREGROUND)
Constructor.
The `flag` parameter can be one of following:
================================ ====================================
Colour Flag Description
================================ ====================================
``wx.html.HTML_CLR_FOREGROUND`` Change color of text.
``wx.html.HTML_CLR_BACKGROUND`` Change background color.
================================ ====================================
|
**Parameters:**
* `clr` (`wx.Colour <../Widgets/wx.Colour.html>`_): The colour.
* `flags` (int)
|
**Returns:**
`wx.html.HtmlColourCell `_