Represents the attributes (color, font, ...) of a wx.ListCtrl‘s wx.ListItem.
See also
__init__ |
Default Constructor. |
GetBackgroundColour |
Returns the currently set background color. |
GetFont |
Returns the currently set font. |
GetTextColour |
Returns the currently set text color. |
HasBackgroundColour |
Returns True if the currently set background color is valid. |
HasFont |
Returns True if the currently set font is valid. |
HasTextColour |
Returns True if the currently set text color is valid. |
SetBackgroundColour |
Sets a new background color. |
SetFont |
Sets a new font. |
SetTextColour |
Sets a new text color. |
BackgroundColour |
See GetBackgroundColour and SetBackgroundColour |
Font |
See GetFont and SetFont |
TextColour |
See GetTextColour and SetTextColour |
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.
Parameters: |
---|
HasBackgroundColour
(self)¶Returns True
if the currently set background color is valid.
Return type: | bool |
---|
HasFont
(self)¶Returns True
if the currently set font is valid.
Return type: | bool |
---|
HasTextColour
(self)¶Returns True
if the currently set text color is valid.
Return type: | bool |
---|
BackgroundColour
¶TextColour
¶See GetTextColour
and SetTextColour