Graphics properties as objects
Shai Ayal
shaiay at gmail.com
Wed Jan 9 11:33:18 CST 2008
On Jan 9, 2008 7:02 PM, Michael Goffioul <michael.goffioul at gmail.com> wrote:
> On 1/9/08, Shai Ayal <shaiay at gmail.com> 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
More information about the Octave-maintainers
mailing list