This is a class which holds information about the cell background, in terms of background colour and background pattern (hatching).
__init__ |
Default class constructor. |
CombineAttr |
Combines the input attribute attr with the features of the XLSBackground class. |
CreateBackgroundColour |
Creates a suitable wxPython colour for the cell background starting from |
Draw |
Actually draws the cell background and pattern hatching on a grid cell. |
XLSBackground
(object)¶This is a class which holds information about the cell background, in terms of background colour and background pattern (hatching).
__init__
(self, book, xf_index)¶Default class constructor.
Parameters: |
|
---|
CombineAttr
(self, attr)¶Combines the input attribute attr with the features of the XLSBackground
class.
Parameters: | attr – an instance of grid.GridCellAttr . |
---|
CreateBackgroundColour
(self, background_colour, pattern_colour, fill_pattern)¶Creates a suitable wxPython colour for the cell background starting from a xlrd tuple representing this colour.
Parameters: |
|
---|