[scilab-Users] Re: GUI problems

Stefan Du Rietz sdr at durietz.se
Thu Nov 6 18:12:40 CET 2008


On 2008-11-06 09:24, Enrico Segre wrote:
--------------------
>> It seems as if uimenu() and uicontrol() can have as "callback" only
>> one function call with a single input argument which is a numeric
>> scalar. Everything else, including a single string and a numeric
>> vector, does not work.
> 
> 
> See discussion in 
> http://bugzilla.scilab.org/show_bug.cgi?id=2111
> perhaps?
> 

Thank you very much, Enrico!

I quote from the discussion:
"Enrico's solution is working, but addin some spaces as with 
"'\\\[ txt, val \\\]=" has the same effect as Francois' 
proposal: pressing the button does not trigger the function 
run."

I had a space after the comma between my two RHS arguments 
because I then find it easier to read. When I removed the 
space, the callback worked!

/Stefan



More information about the users mailing list