Phoenix Logo

phoenix_title wx.html.HtmlColourCell

This cell changes the colour of either the background or the foreground.


class_hierarchy Class Hierarchy

Inheritance diagram for class HtmlColourCell:


method_summary Methods Summary

__init__ Constructor.

api Class API



class wx.html.HtmlColourCell(HtmlCell)

Possible constructors:

HtmlColourCell(clr, flags=HTML_CLR_FOREGROUND)

This cell changes the colour of either the background or the foreground.


Methods



__init__(self, clr, flags=HTML_CLR_FOREGROUND)

Constructor.

Parameters:
  • clr (wx.Colour) – The color
  • flags (int) – Can be one of following:

    • wx.html.HTML_CLR_FOREGROUND: change color of text
    • wx.html.HTML_CLR_BACKGROUND: change background color