[scilab-Users] gcf().resizefcn(h): How to refer to the triggering figure through h?

Vincent COUVERT vincent.couvert at scilab-enterprises.com
Mon Jul 2 13:57:41 CEST 2012


Hello Samuel,

Could you report a bug for this issue?

Regards,
Vincent


Le 01/07/12 17:11, Samuel Gougeon a écrit :
> 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/20120702/5cf1b57c/attachment.htm>


More information about the users mailing list