parameters: (self, itemId, label)
docstring: Sets the label of a :class:`FlatMenuItem`.
  
          :param integer `itemId`: the menu item identifier;
          :param string `label`: the menu item label to set.
  
          :see: :meth:`~FlatMenu.GetLabel`.
docstring_summary: Sets the label of a :class:`FlatMenuItem`.
docstring_tokens: Sets the label of a : class : FlatMenuItem .
function: def SetLabel(self, itemId, label):
          """
          Sets the label of a :class:`FlatMenuItem`.
  
          :param integer `itemId`: the menu item identifier;
          :param string `label`: the menu item label to set.
  
          :see: :meth:`~FlatMenu.GetLabel`.
          """
  
          item = self.FindItem(itemId)
          item.SetLabel(label)
          item.SetText(label)
  
          self.ResizeMenu()
function_tokens: def SetLabel ( self , itemId , label ) : item = self . FindItem ( itemId ) item . SetLabel ( label ) item . SetText ( label ) self . ResizeMenu ( )