#NEWLINE# def remove_overlay( self , overlay ) : #NEWLINE# #INDENT# 'Remove an overlay layout by name\n\n\t\t:param overlay: the class name of the overlay to remove (this is the same name as the layout used to add the overlay)\n\t\t' #NEWLINE# name = overlay . __class__ . __name__ #NEWLINE# if ( name in self . overlays ) : #NEWLINE# #INDENT# self . _remove_widget ( self . overlays [ name ] ) #NEWLINE# del self . overlays [ name ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( ( 'WARNING: Overlay: %s was not found, nothing was removed' % name ) )