#NEWLINE# def center_on_widget( self , other ) : #NEWLINE# #INDENT# ' Center this window on another widget.\n\n        Parameters\n        ----------\n        other : Widget\n            The widget onto which to center this window.\n\n        ' #NEWLINE# assert isinstance ( other , Widget ) #NEWLINE# if ( self . proxy_is_active and other . proxy_is_active ) : #NEWLINE# #INDENT# self . proxy . center_on_widget ( other )