#NEWLINE# def on_delete_layout( self , name ) : #NEWLINE# #INDENT# ' Handles the user reqesting a specified layout to be deleted.\n        ' #NEWLINE# if error ( message = ( "Delete the '%s' layout?" % name ) , title = 'Delete Layout Warning' , parent = self . control ) : #NEWLINE# #INDENT# self . _delete_layout ( name )