Represents the attributes (colour, font, …) of a UltimateListCtrl
UltimateListItem
.
Default class constructor. |
|
Enables or disables the item. |
|
Returns the currently set background colour. |
|
Returns the currently set item font. |
|
Returns the currently set background colour for a footer item. |
|
Returns the currently set font for a footer item. |
|
Returns the currently set text colour for a footer item. |
|
Returns the currently set text colour. |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Returns |
|
Sets a new background colour. |
|
Sets a new font for the item. |
|
Sets a new footer item background colour. |
|
Sets a new font for the footer item. |
|
Sets a new footer item text colour. |
|
Sets a new text colour. |
UltimateListItemAttr
(object)¶Represents the attributes (colour, font, …) of a UltimateListCtrl
UltimateListItem
.
__init__
(self, colText=wx.NullColour, colBack=wx.NullColour, font=wx.NullFont, enabled=True, footerColText=wx.NullColour, footerColBack=wx.NullColour, footerFont=wx.NullFont)¶Default class constructor.
colText – the item text colour;
colBack – the item background colour;
font – the item font;
enabled – True
if the item should be enabled, False
if it is disabled;
footerColText – for footer items, the item text colour;
footerColBack – for footer items, the item background colour;
footerFont – for footer items, the item font.
Enable
(self, enable=True)¶Enables or disables the item.
enable – True
to enable the item, False
to disable it.
GetBackgroundColour
(self)¶Returns the currently set background colour.
GetFont
(self)¶Returns the currently set item font.
Returns the currently set background colour for a footer item.
Returns the currently set font for a footer item.
Returns the currently set text colour for a footer item.
GetTextColour
(self)¶Returns the currently set text colour.
HasBackgroundColour
(self)¶Returns True
if the currently set background colour is valid.
HasFont
(self)¶Returns True
if the currently set font is valid.
Returns True
if the currently set background colour for the footer item
is valid.
Returns True
if the currently set font for the footer item
is valid.
Returns True
if the currently set text colour for the footer item
is valid.
HasTextColour
(self)¶Returns True
if the currently set text colour is valid.
IsEnabled
(self)¶Returns True
if the item is enabled.
SetBackgroundColour
(self, colBack)¶Sets a new background colour.
colBack – an instance of wx.Colour
.
Sets a new footer item background colour.
colBack – an instance of wx.Colour
.
Sets a new font for the footer item.
font – an instance of wx.Font
.
Sets a new footer item text colour.
colText – an instance of wx.Colour
.