This class is used to indicate to a DataViewCtrl that a certain item (see DataViewItem) has extra font attributes for its renderer.
For this, it is required to override DataViewModel.GetAttr .
Attributes are currently only supported by DataViewTextRendererText.
__init__ | Constructor. |
SetBackgroundColour | Call this to set the background colour to use. |
SetBold | Call this to indicate that the item shall be displayed in bold text. |
SetColour | Call this to indicate that the item shall be displayed with that colour. |
SetItalic | Call this to indicate that the item shall be displayed in italic text. |
This class is used to indicate to a DataViewCtrl that a certain item (see DataViewItem) has extra font attributes for its renderer.
Possible constructors:
DataViewItemAttr()
Constructor.
Call this to set the background colour to use.
Currently this attribute is only supported in the generic version of DataViewCtrl and ignored by the native GTK+ and OS X implementations.
Parameters: | colour (Colour) – |
---|
New in version 2.9.4.
Call this to indicate that the item shall be displayed in bold text.
Parameters: | set (bool) – |
---|
Call this to indicate that the item shall be displayed with that colour.
Parameters: | colour (Colour) – |
---|
Call this to indicate that the item shall be displayed in italic text.
Parameters: | set (bool) – |
---|