From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26603 invoked by alias); 20 Feb 2002 21:13:20 -0000 Mailing-List: contact guile-gtk-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: guile-gtk-owner@sources.redhat.com Received: (qmail 26489 invoked from network); 20 Feb 2002 21:13:18 -0000 Received: from unknown (HELO s1.uklinux.net) (80.84.72.21) by sources.redhat.com with SMTP; 20 Feb 2002 21:13:18 -0000 Received: from portalet.ossau.uklinux.net (IDENT:root@ppp-1a-150.3com.telinco.net [212.159.128.150]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g1KLD7V32020; Wed, 20 Feb 2002 21:13:07 GMT Envelope-To: guile-gtk@sources.redhat.com Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (neil@laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (8.9.3/8.8.7) with ESMTP id VAA18539; Wed, 20 Feb 2002 21:06:53 GMT To: Alex Kim Cc: Bo Forslund , guile-gtk@sources.redhat.com, guile-user@gnu.org Subject: Re: Newbie pleading for help... References: <20020220172011.35235.qmail@web20407.mail.yahoo.com> From: Neil Jerram Date: Wed, 20 Feb 2002 13:13:00 -0000 In-Reply-To: <20020220172011.35235.qmail@web20407.mail.yahoo.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q1/txt/msg00036.txt.bz2 >>>>> "Alex" == Alex Kim writes: Alex> Then, I wanted to add event processing loop for the Alex> GUI itself to respond to the mouse interaction so Alex> that I can interactively modify the lines as needed. Alex> As I described in the previous message, this Alex> turned out to be very hard for me to achieve since two Alex> event loops that never return are required (one for Alex> gh_repl and the other for GUI). Hi Alex, I wrote a short essay on this once, but lost it when my box crashed; but it may still be available in the Guile mail archive somewhere. I think I called it "GUIfying the Guile REPL", so you could try searching for that. If you are happy to have the Guile REPL entry line in a Gtk widget (rather than from the terminal that you ran the program from), then you can do something very similar to my guile-gui package (available from http://www.ossau.uklinux.net/guile/). If you need more help to understand what this is done, I'd be happy to provide it. One caveat with guile-gui is that I haven't tried running it since the guile-gtk package (which you will also need) was at version 0.18; so it might need some tweaking for the last guile-gtk. Regards, Neil