STk 2.2 -> 3.0 porting: problems with menu

From: Giorgio Cesana <cesana_at_venus.sgs-thomson.it>
Date: Wed, 11 Oct 1995 18:11:01 +0100

Dear all,

I started to port all the code I have developed using STk 2.1.6 to the new
STk 3.0. While there were no problems in integrating my own extensions, I
cannot understand how to port the following code:

(define (test menubut label callBack)
        (menu-add menubut 'command :label label
                :command `(begin
                        (format uk-ciw-log "M> ~a > ~a\n" ,menubut ,label)
                        ,callBack)))

The problem is that I need to define functions that build call-backs (for
menus, for buttons, for widget bindings...).

Any suggestion?


Thanks in advance.

Giorgio


-------------------------------------------------------------------------------

Giorgio Cesana | SGS-THOMSON Microelectronics
phone +39/39/603.6006 | Central R&D - DAIS
fax +39/39/603.5820 | via C. Olivetti, 2
e-mail giorgio_cesana.sgs-thomson.it | 20041 Agrate B.za (MI) - ITALY
Received on Wed Oct 11 1995 - 18:14:47 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST