[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: handle grapics with Document/View design
From: |
Paul Kienzle |
Subject: |
Re: handle grapics with Document/View design |
Date: |
Fri, 14 Oct 2005 08:24:56 -0400 |
On Oct 14, 2005, at 5:01 AM, John W. Eaton wrote:
Since the list of graphics objects is just a global variable, I think
we will need some way to prevent a user from wiping it out.
Using a persistent variable in a locked function is one strategy:
function retL = uiobjects(newL)
mlock
persistent L={};
if nargin == 1, L = newL; end
retL = L;
- Paul