view m-toolbox/m/gui/@jcontrol/ancestor.m @ 32:e22b091498e4 database-connection-manager

Update makeToolbox
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

function h=ancestor(obj, type)
% ANCESTOR function overloaded as JCONTROL method
%
% Example:
% h=ancestor(obj, type)
% 
% returns the appropriate ancestor of the obj.hgcontainer
%
% See also builtin/ancestor
% 

h=ancestor(obj.hgcontainer, type);
return
end