parameters: (self, info)
docstring: Sets information about the item.
  
          :param `info`: an instance of :class:`UltimateListItemData`.
docstring_summary: Sets information about the item.
docstring_tokens: Sets information about the item .
function: def SetItem(self, info):
          """
          Sets information about the item.
  
          :param `info`: an instance of :class:`UltimateListItemData`.
          """
  
          if info._mask & ULC_MASK_TEXT:
              CheckVariableRowHeight(self._owner, info._text)
              self.SetText(info._text)
              
          if info._mask & ULC_MASK_TOOLTIP:
              self.SetToolTip(info._tooltip)
  
          if info._mask & ULC_MASK_KIND:
              self._kind = info._kind
  
          if info._mask & ULC_MASK_CHECK:
              self._checked = info._checked
  
          if info._mask & ULC_MASK_ENABLE:
              self._enabled = info._enabled
              
          if info._mask & ULC_MASK_IMAGE:
              self._image = info._image[:]
  
          if info._mask & ULC_MASK_DATA:
              self._data = info._data
  
          if info._mask & ULC_MASK_PYDATA:
              self._pyData = info._pyData
          
          if info._mask & ULC_MASK_HYPERTEXT:
              self._hypertext = info._hypertext
              self._visited = info._visited
              
          if info._mask & ULC_MASK_FONTCOLOUR:
              self.SetColour(info.GetTextColour())
  
          if info._mask & ULC_MASK_FONT:
              self.SetFont(info.GetFont())
  
          if info._mask & ULC_MASK_BACKCOLOUR:
              self.SetBackgroundColour(info.GetBackgroundColour())
  
          if info._mask & ULC_MASK_WINDOW:
              self._wnd = info._wnd
              self._windowenabled = info._windowenabled
              self._windowsize = info._windowsize
              self._expandWin = info._expandWin
  
          if info._mask & ULC_MASK_SHOWN:
              self._isColumnShown = info._isColumnShown
  
          if info._mask & ULC_MASK_RENDERER:
              self._customRenderer = info._customRenderer
  
          if info._mask & ULC_MASK_OVERFLOW:
              self._overFlow = info._overFlow
              
          if info.HasAttributes():
  
              if self._attr:
                  self._attr = info.GetAttributes()
              else:
                  self._attr = UltimateListItemAttr(info.GetTextColour(), info.GetBackgroundColour(),
                                                    info.GetFont(), info.IsEnabled(), info.GetFooterTextColour(),
                                                    info.GetFooterBackgroundColour(), info.GetFooterFont())
  
          if self._rect:
  
              self._rect.x = -1
              self._rect.y = -1
              self._rect.height = 0
              self._rect.width = info._width
function_tokens: def SetItem ( self , info ) : if info . _mask & ULC_MASK_TEXT : CheckVariableRowHeight ( self . _owner , info . _text ) self . SetText ( info . _text ) if info . _mask & ULC_MASK_TOOLTIP : self . SetToolTip ( info . _tooltip ) if info . _mask & ULC_MASK_KIND : self . _kind = info . _kind if info . _mask & ULC_MASK_CHECK : self . _checked = info . _checked if info . _mask & ULC_MASK_ENABLE : self . _enabled = info . _enabled if info . _mask & ULC_MASK_IMAGE : self . _image = info . _image [ : ] if info . _mask & ULC_MASK_DATA : self . _data = info . _data if info . _mask & ULC_MASK_PYDATA : self . _pyData = info . _pyData if info . _mask & ULC_MASK_HYPERTEXT : self . _hypertext = info . _hypertext self . _visited = info . _visited if info . _mask & ULC_MASK_FONTCOLOUR : self . SetColour ( info . GetTextColour ( ) ) if info . _mask & ULC_MASK_FONT : self . SetFont ( info . GetFont ( ) ) if info . _mask & ULC_MASK_BACKCOLOUR : self . SetBackgroundColour ( info . GetBackgroundColour ( ) ) if info . _mask & ULC_MASK_WINDOW : self . _wnd = info . _wnd self . _windowenabled = info . _windowenabled self . _windowsize = info . _windowsize self . _expandWin = info . _expandWin if info . _mask & ULC_MASK_SHOWN : self . _isColumnShown = info . _isColumnShown if info . _mask & ULC_MASK_RENDERER : self . _customRenderer = info . _customRenderer if info . _mask & ULC_MASK_OVERFLOW : self . _overFlow = info . _overFlow if info . HasAttributes ( ) : if self . _attr : self . _attr = info . GetAttributes ( ) else : self . _attr = UltimateListItemAttr ( info . GetTextColour ( ) , info . GetBackgroundColour ( ) , info . GetFont ( ) , info . IsEnabled ( ) , info . GetFooterTextColour ( ) , info . GetFooterBackgroundColour ( ) , info . GetFooterFont ( ) ) if self . _rect : self . _rect . x = - 1 self . _rect . y = - 1 self . _rect . height = 0 self . _rect . width = info . _width