 
       wx.lib.agw.ultimatelistctrl.UltimateListItemAttr¶
  wx.lib.agw.ultimatelistctrl.UltimateListItemAttr¶Represents the attributes (colour, font, ...) of a UltimateListCtrl
UltimateListItem.
 Methods Summary¶
 Methods Summary¶| __init__ | Default class constructor. | 
| Enable | Enables or disables the item. | 
| GetBackgroundColour | Returns the currently set background colour. | 
| GetFont | Returns the currently set item font. | 
| GetFooterBackgroundColour | Returns the currently set background colour for a footer item. | 
| GetFooterFont | Returns the currently set font for a footer item. | 
| GetFooterTextColour | Returns the currently set text colour for a footer item. | 
| GetTextColour | Returns the currently set text colour. | 
| HasBackgroundColour | Returns Trueif the currently set background colour is valid. | 
| HasFont | Returns Trueif the currently set font is valid. | 
| HasFooterBackgroundColour | Returns Trueif the currently set background colour for the footer item | 
| HasFooterFont | Returns Trueif the currently set font for the footer item | 
| HasFooterTextColour | Returns Trueif the currently set text colour for the footer item | 
| HasTextColour | Returns Trueif the currently set text colour is valid. | 
| IsEnabled | Returns Trueif the item is enabled. | 
| SetBackgroundColour | Sets a new background colour. | 
| SetFont | Sets a new font for the item. | 
| SetFooterBackgroundColour | Sets a new footer item background colour. | 
| SetFooterFont | Sets a new font for the footer item. | 
| SetFooterTextColour | Sets a new footer item text colour. | 
| SetTextColour | Sets a new text colour. | 
 Class API¶
 Class API¶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.
| Parameters: | 
 | 
|---|
Enable(self, enable=True)¶Enables or disables the item.
| Parameters: | enable – Trueto enable the item,Falseto 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.
| Parameters: | colBack – an instance of wx.Colour. | 
|---|
Sets a new footer item background colour.
| Parameters: | colBack – an instance of wx.Colour. | 
|---|
Sets a new font for the footer item.
| Parameters: | font – an instance of wx.Font. | 
|---|
Sets a new footer item text colour.
| Parameters: | colText – an instance of wx.Colour. | 
|---|