peng3d/gui/slider.py
def deleteCategory(self,name):
        """
        Deletes the category with the given name.
        
        If the category does not exist, a :py:exc:`KeyError` will be thrown.
        """
        if name not in self.categories:
            raise KeyError("No Category with name '%s'"%name)
        del self.categories[name]
        self.redraw()
def deleteCategory(self,name):
        """
        Deletes the category with the given name.
        
        If the category does not exist, a :py:exc:`KeyError` will be thrown.
        """
        if name not in self.categories:
            raise KeyError("No Category with name '%s'"%name)
        del self.categories[name]
        self.redraw()
Deletes the category with the given name.
        
        If the category does not exist, a :py:exc:`KeyError` will be thrown.