gcf().resizefcn(h): How to refer to the triggering figure through h?

Samuel Gougeon sgougeon at free.fr
Sun Jul 1 17:11:29 CEST 2012


Hello,

Scilab 5.4.0 provides the new figure attribute resizefcn,
that is a callback called when the related figure is resized.

However, this one is not necessarily the current one, in such
a way that resizefcn="do(gcf())" is not relevant.
It is possible to
   - tag the figure
   - to put the tag as input arg of the resizefcn callback
   - to findobj(tag) inside the callback

but is there a shorter way to refer to "this" figure, i mean a kind
of "this" implicit handle?

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120701/6f1621ed/attachment.htm>


More information about the users mailing list