AW: [Scilab-Dev] XCOS: custom menu entries

Cercueil.Paul Cercueil.Paul at addi-data.com
Thu Nov 4 08:30:08 CET 2010


Hello Sylvestre,

I'm sorry, I don't use Mac OSX, and all the menus of XCOS work just as they should. However, I am unable to find a way to create a new menu on the menu bar, as it was possible on the old Scicos with simple scripts.

Later I found that the menus are hardcoded inside the Java code...
I will modify the source so that it fits our needs, but I'm simply surprised that there's no practical way to control XCOS from Scilab.

Best Regards,

Paul Cercueil
ADDI-DATA GmbH

-----Ursprüngliche Nachricht-----
Von: Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] 
Gesendet: Donnerstag, 4. November 2010 05:53
An: dev at lists.scilab.org
Betreff: Re: [Scilab-Dev] XCOS: custom menu entries

Hello Paul,

Looks like you just fall into a Mac OS X bug. I reported this here:
http://bugzilla.scilab.org/show_bug.cgi?id=4074

If I understand correctly your problem, you have to go into a dedicated
menu for your module.

Sylvestre


Le mercredi 03 novembre 2010 à 07:29 +0000, Cercueil.Paul a écrit :
> Hello,
> 
> I am currently porting a plugin made for Scicos to XCOS.
> Unfortunately, it seems that the interface changed a lot between these two.
> 
> I would like to add menu entries on the XCOS main window, from a script file loaded when Scilab starts.
> I found some macros like scicos_menubar() that seem to do it, unfortunately it seems like it belongs to the old Scilab module, and does not work anymore.
> 
> Any help would be very welcome.
> 
> Best regards,
> 
> Paul Cercueil
> ADDI-DATA GmbH
> 
> 
> 
> Produktneuheiten! Sehen Sie auf der SPS/IPC/Drives 2010 in Nürnberg:
> - Echtzeit-Ethernet Systeme x-ARTS zum Messen, Steuern, Regeln über Echtzeit-Protokolle wie EtherCAT, ProfiNet oder VARAN
> - Mit MODBUS-Bibliothek: einfache Steuerung der Ethernet-Systeme MSX-E über SPS
> 
> 
> Besuchen Sie uns vom 23. bis 25. November 2010: Halle 7, Stand 7.123. Wir freuen uns auf Sie!
> 
> 
> ADDI-DATA GmbH - Airport Boulevard B210 - 77836 Rheinmünster (Germany) Amtsgericht Mannheim HRB210433 Geschäftsführer René Ohlmann
> UST-ID-Nr.: DE 143754253 WEEE-Reg.-Nr. DE 65862200
> 

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




Produktneuheiten! Sehen Sie auf der SPS/IPC/Drives 2010 in Nürnberg:
- Echtzeit-Ethernet Systeme x-ARTS zum Messen, Steuern, Regeln über Echtzeit-Protokolle wie EtherCAT, ProfiNet oder VARAN
- Mit MODBUS-Bibliothek: einfache Steuerung der Ethernet-Systeme MSX-E über SPS


Besuchen Sie uns vom 23. bis 25. November 2010: Halle 7, Stand 7.123. Wir freuen uns auf Sie!


ADDI-DATA GmbH - Airport Boulevard B210 - 77836 Rheinmünster (Germany) Amtsgericht Mannheim HRB210433 Geschäftsführer René Ohlmann
UST-ID-Nr.: DE 143754253 WEEE-Reg.-Nr. DE 65862200



More information about the dev mailing list