view m-toolbox/classes/@LTPDAHelper/cb_guiClosed.m @ 52:daf4eab1a51e
database-connection-manager tip
Fix. Default password should be [] not an empty string
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Wed, 07 Dec 2011 17:29:47 +0100 (2011-12-07)
parents
f0afece42f48
children
line source
+ − % cb_guiClosed callback for closing the LTPDAHelper GUI
+ − %
+ − % Parameters:
+ − % first - LTPDAHelper object
+ − % second - Source object (here: java LTPDAHelper)
+ − % third - Event Object (here: WindowEvent)
+ − %
+ − % Version:
+ − % $Id: cb_guiClosed.m,v 1.1 2010/12/17 15:32:18 hewitson Exp $
+ − %
+ −
+ − function cb_guiClosed(varargin)
+ − disp('*** Goodbye from LTPDAHelper');
+ − ltpdaHelper = varargin{1};
+ −
+ − if ~isempty(ltpdaHelper) && isvalid(ltpdaHelper)
+ − %--- called when window is closed
+ − h = handle(ltpdaHelper.gui, 'callbackproperties');
+ − set(h, 'WindowClosedCallback', []);
+ −
+ − %--- It is also necessary to destroy the GUI with the destructor 'delete'
+ − delete(ltpdaHelper);
+ − end
+ −
+ − end