wx.ListItemAttr¶Represents the attributes (color, font, …) of a wx.ListCtrl’s wx.ListItem.
See also
Class Hierarchy¶
Inheritance diagram for class ListItemAttr:
Methods Summary¶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. |
Properties Summary¶See |
Class API¶Possible constructors:
ListItemAttr()
ListItemAttr(colText, colBack, font)
Represents the attributes (color, font, …) of a ListCtrl’s ListItem.
__init__ (self)
Default Constructor.
__init__ (self, colText, colBack, font)
Construct a wx.ListItemAttr with the specified foreground and background colors and font.
Returns True if the currently set background color is valid.
bool
Returns True if the currently set font is valid.
bool
Returns True if the currently set text color is valid.
bool
See GetTextColour and SetTextColour