Represents the attributes (color, font, …) of a wx.ListCtrl’s wx.ListItem.
See also
Default Constructor. |
|
Returns the currently set background color. |
|
Returns the currently set font. |
|
Returns the currently set text color. |
|
Returns |
|
Returns |
|
Returns |
|
Sets a new background color. |
|
Sets a new font. |
|
Sets a new text color. |
wx.
ListItemAttr
(object)¶Possible constructors:
ListItemAttr()
ListItemAttr(colText, colBack, font)
Represents the attributes (color, font, …) of a ListCtrl’s ListItem.
__init__
(self, *args, **kw)¶__init__ (self)
Default Constructor.
__init__ (self, colText, colBack, font)
Construct a wx.ListItemAttr with the specified foreground and background colors and font.
HasBackgroundColour
(self)¶Returns True
if the currently set background color is valid.
bool
HasFont
(self)¶Returns True
if the currently set font is valid.
bool
HasTextColour
(self)¶Returns True
if the currently set text color is valid.
bool
BackgroundColour
¶TextColour
¶See GetTextColour
and SetTextColour