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

Vincent COUVERT vincent.couvert at scilab-enterprises.com
Tue Jul 3 09:24:01 CEST 2012


Hi,

I think the best way to do is to use the gcbo variable as in standard 
callback functions.

Regards,
Vincent


Le 02/07/12 20:37, sgougeon at free.fr a écrit :
>> It is also possible to add an argument to the resizefcn function which will contain the win_number or the handle to the resized >window.
>>
>> Serge
> That's right: As long as the syntax gcf().resizefcn is not allowed,
> assigning h.resizefcn="do(..)" needs to previously define h. So the
> chosen variable h can be used in the calling sequence of the call_back.
> It is by far the easiest way to do. I was wondering about how to do it
> in a more generic way, but it is useless.
> Thank you.
>
> Samuel
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
>





More information about the users mailing list