Mercurial > hg > ltpda
annotate 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 |
rev | line source |
---|---|
0 | 1 function h=ancestor(obj, type) |
2 % ANCESTOR function overloaded as JCONTROL method | |
3 % | |
4 % Example: | |
5 % h=ancestor(obj, type) | |
6 % | |
7 % returns the appropriate ancestor of the obj.hgcontainer | |
8 % | |
9 % See also builtin/ancestor | |
10 % | |
11 | |
12 h=ancestor(obj.hgcontainer, type); | |
13 return | |
14 end |