def setRect ( self , rect ) : self . x , self . y , self . w , self . h = rect
set a rect to a variable python
Sets the window bounds from a tuple of ( x y w h )
def setRect(self, rect):
		"""
		Sets the window bounds from a tuple of (x,y,w,h)
		"""
		self.x, self.y, self.w, self.h = rect