#NEWLINE# def SwitchPanel( self , newpanel ) : #NEWLINE# #INDENT# self . s_tumblelog . Replace ( newpanel . panel , newpanel ) #NEWLINE# self . panel . Destroy ( ) #NEWLINE# self . panel = newpanel #NEWLINE# self . Layout ( )