#NEWLINE# def setScaledContents( self , scaled ) : #NEWLINE# #INDENT# ' Set whether the contents scale with the widget size.\n\n        Parameters\n        ----------\n        scaled : bool\n            If True, the image will be scaled to fit the widget size,\n            subject to the other sizing constraints in place. If False,\n            the image will not scale and will be clipped as required.\n\n        ' #NEWLINE# self . _scaled_contents = scaled #NEWLINE# self . update ( )