def on_delete_layout ( self, name ):
        if error( message = "Delete the '%s' layout?" % name,
                  title   = 'Delete Layout Warning',
                  parent  = self.control ):
            self._delete_layout( name )

    #---------------------------------------------------------------------------
    #  Handles the user requesting to edit an item:
    #---------------------------------------------------------------------------
Handles the user reqesting a specified layout to be deleted.
dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow.on_delete_layout