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: Ben Abbott
Subject: Re: another sort of listener (was: GUI work)
Date: Tue, 25 Nov 2008 18:41:03 -0500

On Nov 25, 2008, at 5:51 PM, Michael Goffioul wrote:

Think for instance about 3D-rotating a plot: you want the rotation to follow
your mouse seemlessly (without any delay). This rotation is typically
performed by changing View property and redrawing. If you want responsiveness, you'll do that in the GUI thread. Now, if there's a listener attached to View
property, this has to be run in the octave thread.


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.

Ben


reply via email to

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