[changeset] - have closereq() respect the property "tag"
Ben Abbott
bpabbott at mac.com
Mon Oct 20 10:46:17 CDT 2008
On Oct 20, 2008, at 11:42 AM, John W. Eaton wrote:
> On 20-Oct-2008, Ben Abbott wrote:
>
> |
> | On Oct 20, 2008, at 11:28 AM, John W. Eaton wrote:
> |
> | > On 9-Oct-2008, Ben Abbott wrote:
> | >
> | > | Presently closereq() checks the handle value to be sure it is
> not
> | > | equal to 0.
> | > |
> | > | Instead it should check that the handle is assigned to a figure.
> | >
> | > Should we also avoid the error for (possibly) calling delete
> (0)? I'm
> | > not even sure that can happend, and at least calling delete (0)
> | > doesn't actually delete the root figure, so I suppose this
> change is
> | > OK.
> | >
> | > Thanks,
> | >
> | > jwe
> |
> |
> | In Matlab
> |
> | >> get(0,'type')
> | ans = root
> |
> | In Octave
> |
> | octave:49> get(0,'type')
> | ans = root_figure
> |
> | So I think we should be ok.
>
> OK.
>
> Hmm. I suppose type should be "root" in Octave as well, instead of
> "root_figure".
>
> jwe
I would think so. However, I have no idea what might presently rely
upon "root_figure".
Ben
More information about the Octave-maintainers
mailing list