peng3d/gui/layered.py
def border(self):
        """
        Property to be used for setting and getting the border of the layer.
        
        Note that setting this property causes an immediate redraw.
        """
        if callable(self._border):
            return util.WatchingList(self._border(*(self.widget.pos+self.widget.size)),self._wlredraw_border)
        else:
            return util.WatchingList(self._border,self._wlredraw_border)
def border(self):
        """
        Property to be used for setting and getting the border of the layer.
        
        Note that setting this property causes an immediate redraw.
        """
        if callable(self._border):
            return util.WatchingList(self._border(*(self.widget.pos+self.widget.size)),self._wlredraw_border)
        else:
            return util.WatchingList(self._border,self._wlredraw_border)
Property to be used for setting and getting the border of the layer.
        
        Note that setting this property causes an immediate redraw.