#NEWLINE# def rebuild_ui( self , ui ) : #NEWLINE# #INDENT# ' Rebuilds a UI after a change to the content of the UI.\n        ' #NEWLINE# if ( ui . control is not None ) : #NEWLINE# #INDENT# ui . recycle ( ) #NEWLINE# ui . info . ui = ui #NEWLINE# #UNINDENT# ui . rebuild ( self , ui . parent )