Mercurial > hg > ltpda
annotate m-toolbox/m/gui/@jcontrol/ancestor.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
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 |