[changeset] - have closereq() respect the property "tag"

John W. Eaton jwe at bevo.che.wisc.edu
Mon Oct 20 10:42:03 CDT 2008


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


More information about the Octave-maintainers mailing list