Module CustomTreeCtrl :: Class TreeItemAttr
[hide private]
[frames] | no frames]

Class TreeItemAttr
source code

Creates the item attributes (text colour, background colour and font).

Instance Methods [hide private]
  GetBackgroundColour(self)
Returns the attribute background colour.
  GetFont(self)
Returns the attribute font.
  GetTextColour(self)
Returns the attribute text colour.
  HasBackgroundColour(self)
Returns whether the attribute has background colour.
  HasFont(self)
Returns whether the attribute has font.
  HasTextColour(self)
Returns whether the attribute has text colour.
  SetBackgroundColour(self, colBack)
Sets the attribute background colour.
  SetFont(self, font)
Sets the attribute font.
  SetTextColour(self, colText)
Sets the attribute text colour.
  __init__(self, colText=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.), colBack=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.), font=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.))
Default class constructor.

Method Details [hide private]

GetBackgroundColour(self)

source code 
Returns the attribute background colour.

GetFont(self)

source code 
Returns the attribute font.

GetTextColour(self)

source code 
Returns the attribute text colour.

HasBackgroundColour(self)

source code 
Returns whether the attribute has background colour.

HasFont(self)

source code 
Returns whether the attribute has font.

HasTextColour(self)

source code 
Returns whether the attribute has text colour.

SetBackgroundColour(self, colBack)

source code 
Sets the attribute background colour.

SetFont(self, font)

source code 
Sets the attribute font.

SetTextColour(self, colText)

source code 
Sets the attribute text colour.

__init__(self, colText=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.), colBack=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.), font=wxPython wrapper for UNBORN object! (The C++ object is not initialized yet.))
(Constructor)

source code 
Default class constructor. For internal use: do not call it in your code!"