#NEWLINE# def set_widget( self , child ) : #NEWLINE# #INDENT# self . remove_all ( ) #NEWLINE# self . add_ref ( child ) #NEWLINE# self . widget . add ( child . get_widget ( ) ) #NEWLINE# self . widget . show_all ( )