[Scilab-users] ?==?utf-8?q? Put an image as the background of an axis

Jan-Åge Langeland j-lan at online.no
Thu Feb 11 10:00:45 CET 2016


>> The only added bonus with the uicontrol is that you have access to a 
>> callback function to react to the user's action.
> Not even: as for the text style (http://bugzilla.scilab.org/7111), the 
> callback is not implemented for the image style. After your example, add:
> h.callback_type=0;
> h.callback = "disp(""Hello"")"
> // Then click on the image => "Hello" should be displayed in the 
> console for each click, but nothing is displayed.
> // You may change the instructions => nothing is never done.
>
> Samuel

What would a callback bring anyway, that you cannot do with xclick() ?

Jan Å



More information about the users mailing list