Inheritance diagram for wx.ColourDatabase:
wxWidgets maintains a database of standard RGB colours for a predefined set of named colours (such as “BLACK”, “LIGHT GREY”). The application may add to this set if desired by using AddColour and may use it to look up colours by names using Find or find the names for the standard colour suing FindName.
There is one predefined instance of this class called wx.TheColourDatabase.
See also
The standard database contains at least the following colours:
Adds a colour to the database. If a colour with the same name already exists, it is replaced.
Parameters:
Parameters:
Finds a colour given the name. Returns an invalid colour object (that is, such that its Ok method returns False) if the colour wasn’t found in the database.
Parameters:
Returns: