plot and image demos (growing window)
Ben Abbott
bpabbott at mac.com
Fri May 29 10:40:17 CDT 2009
On May 29, 2009, at 10:55 AM, John W. Eaton wrote:
> On 29-May-2009, Ben Abbott wrote:
>
> | The only way would be to ...
> |
> | (1) get the window size
> | (2) set mouse
> | (3) get the window size
> | (4) unset mouse
> | (5) get the window size
> | (6) Determine if the mouse was originally set or unset
> | (7) Return the mouse to its original state
> |
> | Such an implementation is kludgy :-(
> |
> | However the greater difficulty is how to obtain the x11 window
> | position and size reliably for Unix and Windows.
>
> I don't think it is worth trying to fix this problem. For one thing,
> it seems to go away if you use the wxt terminal. What about the aqua
> terminal?
>
> jwe
This problem is unique to x11. Regarding aqua, the placement of
ticklabels and axislabels is more _liberal_ than for other terminals.
Thus, the xlabel is often partially cut off, and the title is often
not visible at all :-(
However, to be clear the method described above will *not* fix the
current growing window problem. However, it would allow Octave to
detect the window size for x11. I have a local solution that does
this, but it won't work reliably until a property listener is in place
for units conversion.
Ben
More information about the Octave-maintainers
mailing list