octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics properties as objects


From: Shai Ayal
Subject: Re: Graphics properties as objects
Date: Wed, 9 Jan 2008 19:33:18 +0200

On Jan 9, 2008 7:02 PM, Michael Goffioul <address@hidden> wrote:
> On 1/9/08, Shai Ayal <address@hidden> wrote:
> > Isn't this the problem that listeners were created to solve?
>
> Indeed, but listeners are more easily implemented and used
> when they corresponds to interpreted code (it's just an
> octave_value when seen from C++), than when they are
> auto-generated class method.
>
> > This also might be solved in the way octplot did it: define the
> > <object>::properties::preget|postget|preset|postset functions and call
> > them appropriately. in this functions you can do all of the above
> > tasks, while keeping the code simple:

I think your argument also applies here -- the method I suggested will
not be good for c++ access, just for interepreted code

Shai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]