wx.ListItemAttr

Inheritance diagram for wx.ListItemAttr:



Class API

Methods

__init__(colText=wx.NullColour, colBack=wx.NullColour, font=wx.NullFont)

Construct a wx.ListItemAttr with the specified foreground and background colors and font.

Parameters:


Returns:

wx.ListItemAttr


AssignFrom(source)

Parameters:


Destroy()
No docstrings available for this method.

GetBackgroundColour()

Returns the currently set background color.


Returns:

wx.Colour


GetFont()

Returns the currently set font.


Returns:

wx.Font


GetTextColour()

Returns the currently set text color.


Returns:

wx.Colour


HasBackgroundColour()

Returns True if the currently set background color is valid.


Returns:

bool


HasFont()

Returns True if the currently set font is valid.


Returns:

bool


HasTextColour()

Returns True if the currently set text color is valid.


Returns:

bool


SetBackgroundColour(colour)

Sets a new background color.

Parameters:


SetFont(font)

Sets a new font.

Parameters:


SetTextColour(colour)

Sets a new text color.

Parameters:


Properties

BackgroundColour
See GetBackgroundColour and SetBackgroundColour
Font
See GetFont and SetFont
TextColour
See GetTextColour and SetTextColour