Represents the attributes (color, font, .
..) of a ListCtrl’s 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 |
Represents the attributes (color, font, .
Possible constructors:
ListItemAttr()
ListItemAttr(colText, colBack, font)
Overloaded Implementations:
__init__ (self)
Default Constructor.
__init__ (self, colText, colBack, font)
Construct a ListItemAttr with the specified foreground and background colors and font.
Parameters: |
---|
Returns True if the currently set background color is valid.
Return type: | bool |
---|
Returns True if the currently set font is valid.
Return type: | bool |
---|
Returns True if the currently set text color is valid.
Return type: | bool |
---|
See GetTextColour and SetTextColour