(self, *args, **kwargs)
Add a new visual in the paint manager.
Add a new visual in the paint manager.
Add a new visual in the paint manager .
def add_visual(self, *args, **kwargs):
        """Add a new visual in the paint manager."""
        name = kwargs.get('name')
        if not self.get_visual(name):
            self.parent.paint_manager.add_visual(*args, **kwargs)
def add_visual ( self , * args , * * kwargs ) : name = kwargs . get ( 'name' ) if not self . get_visual ( name ) : self . parent . paint_manager . add_visual ( * args , * * kwargs )