Mercurial > hg > ltpda
annotate m-toolbox/m/gui/@jcontrol/ancestor.m @ 49:0bcdf74587d1 database-connection-manager
Cleanup
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:36 +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 |