another sort of listener (was: GUI work)
Ben Abbott
bpabbott at mac.com
Tue Nov 25 17:41:03 CST 2008
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
More information about the Octave-maintainers
mailing list