Mercurial > hg > ltpda
annotate m-toolbox/m/gui/@jcontrol/delete.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 delete(obj) |
2 % DELETE method overloaded for the JCONTROL class | |
3 % | |
4 % DELETE acts on the hgcontainer of the target object. Call this on the | |
5 % parent JCONTROL to delete all its contents. | |
6 % | |
7 % Example: | |
8 % delete(obj) | |
9 % | |
10 % ------------------------------------------------------------------------- | |
11 % Author: Malcolm Lidierth 07/07 | |
12 % Copyright © The Author & King's College London 2007 | |
13 % ------------------------------------------------------------------------- | |
14 | |
15 delete(obj.hgcontainer); | |
16 return | |
17 end |