octave-maintainers
[Top][All Lists]
Advanced

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

Re: another sort of listener (was: GUI work)


From: Michael Goffioul
Subject: Re: another sort of listener (was: GUI work)
Date: Wed, 26 Nov 2008 06:50:24 +0000

On Tue, Nov 25, 2008 at 11:41 PM, Ben Abbott <address@hidden> wrote:
> I thought I put in a plug for some needed functionality that is less sexy,
> but more directly applicable to Octave.
>
> Many of the figure/axes/text/etc properties are in need of "listeners" ...
> if that is the proper way to describe it.
>
> When the "units", "fontunits", "paperunits" are changed the respective
> values should be translated from the old units to the new units. The values
> needing attention are "position", "outerposition", "tightinset",
> "papersize", "paperposition", "extent", "fontsize", etc.
>
> I have been working on having the gnuplot backend respect these properties,
> and keep hoping someone working on the new backend will get around to this.
>
> If anyone is inclined to work on this, I can share the partial m-file
> solution I've been working with.

This kind of behavior is indeed needed. There is already a function
in graphics.cc to do low-level conversions (see convert_position).
What is needed is to add updaters in the C++ code to actually
perform the conversion.

Michael.


reply via email to

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