[Scilab-Dev] GSOC query for Scilab UI elements

Sylvestre Ledru sylvestre.ledru at scilab.org
Tue Mar 9 22:28:25 CET 2010


I agree with your analyze. When I talked about uicontrol, it was not to
use uicontrol features to produce the new UI elements like the
spreadsheet. 
The proposal suggests to extend the current system to propose these new
features in the Scilab language.

It should follow the current implementation. AFAIK, the Scilab engine
(C / C++) is calling the Java swing API to produce the various GUI
component. This is done through GIWS [1] which manages the wrapping on
the Java object.
The wrapper are described here:
modules/gui/src/jni/*.xml (and will generate the .hxx & .cpp)
For example, the wrapper CallScilabBridge.giws.xml is used in various
places in modules/gui/src/cpp/

Hope this helps,
Sylvestre
[1] http://forge.scilab.org/index.php/p/giws/

Le mercredi 10 mars 2010 à 00:53 +0530, chirag at iitg.ernet.in a écrit :
> Sorry Sir disturbing you again
> But can you advice if below method would be better for Scilab UI elements
> project or to use the uicontrol function of scilab would be better .
> Actually I read about uicontrol function and it has limited functionalties
> which will make it difficult to implement a spreadsheet .
> 
> >
> > Le mercredi 10 mars 2010 à 00:36 +0530, chirag at iitg.ernet.in a écrit :
> >> Can this be possible that we can call a Java or C++ function from a
> >> Scilab
> >> command
> > Yes, it is possible.
> > It is possible by default with C++ (and fortran or C). See:
> > http://www.scilab.org/product/man/section_eb691bc0a443eb3a95bc5db4d1be2102.html
> > and with Java through:
> > http://forge.scilab.org/index.php/p/importjava/
> > (which is still under development)
> >
> >
> >>  and run java or c++ gui and then implement a interface program to
> >> communicate between Java/C++ gui and scilab ?
> > Well, yes but not out of the box. You have to go through SWIG or GIWS to
> > do it.
> > There are some usages of this into Scilab source code.
> >
> > Sylvestre
> >
> >
> >
> 

-- 
-------------------------
Sylvestre Ledru
-------------------------
The Scilab Consortium
Digiteo
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex
France




More information about the dev mailing list