peng3d/gui/layered.py
def addImage(self,name,rsrc):
        """
        Adds an image to the internal registry.
        
        ``rsrc`` should be a 2-tuple of ``(resource_name,category)``\ .
        """
        self.imgs[name]=self.widget.peng.resourceMgr.getTex(*rsrc)
def addImage(self,name,rsrc):
        """
        Adds an image to the internal registry.
        
        ``rsrc`` should be a 2-tuple of ``(resource_name,category)``\ .
        """
        self.imgs[name]=self.widget.peng.resourceMgr.getTex(*rsrc)
Adds an image to the internal registry.
        
        ``rsrc`` should be a 2-tuple of ``(resource_name,category)``\ .