parameters: (self)
return_statement: return self._attr
docstring: Creates a new attribute (font, colours, etc...) for this item.
  
          :return: An instance of :class:`TreeItemAttr`.
docstring_summary: Creates a new attribute (font, colours, etc...) for this item.
docstring_tokens: Creates a new attribute ( font colours etc ... ) for this item .
function: def Attr(self):
          """
          Creates a new attribute (font, colours, etc...) for this item.
  
          :return: An instance of :class:`TreeItemAttr`.
          """
      
          if not self._attr:
          
              self._attr = TreeItemAttr()
              self._ownsAttr = True
          
          return self._attr
function_tokens: def Attr ( self ) : if not self . _attr : self . _attr = TreeItemAttr ( ) self . _ownsAttr = True return self . _attr