.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.html.HtmlColourCell:
==========================================================================================================================================
|phoenix_title| **wx.html.HtmlColourCell**
==========================================================================================================================================
This cell changes the colour of either the background or the foreground.
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
HtmlColourCell:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.html.HtmlColourCell.__init__` Constructor.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.html.HtmlColourCell(HtmlCell)
**Possible constructors**::
HtmlColourCell(clr : Colour, flags: int=HTML_CLR_FOREGROUND) -> None
This cell changes the colour of either the background or the
foreground.
.. method:: __init__(self, clr : Colour, flags: int=HTML_CLR_FOREGROUND)
Constructor.
:param `clr`: The color
:type `clr`: wx.Colour
:param `flags`: Can be one of following:
- ``wx.html.HTML_CLR_FOREGROUND``: change color of text
- ``wx.html.HTML_CLR_BACKGROUND``: change background color
:type `flags`: int
:rtype: `None`