#NEWLINE# def redraw( self , name = None ) : #NEWLINE# #INDENT# 'Redraw all of the tabs' #NEWLINE# self . _current = name #NEWLINE# for tab in self . _tab_order : #NEWLINE# #INDENT# current = ( tab . name == name ) #NEWLINE# tab . redraw ( current ) #NEWLINE# tab . widget . place_forget ( ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# self . canvas . tag_raise ( 'current' , 'others' ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . canvas . tag_raise ( 'text' ) #NEWLINE# self . tabs [ name ] . widget . place ( in_ = self . container , x = 4 , y = 0 , relwidth = 1 , relheight = 1 ) #NEWLINE# self . tabs [ name ] . widget . lift ( )