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