guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternatives to gh_repl() for gtk app?


From: Neil Jerram
Subject: Re: Alternatives to gh_repl() for gtk app?
Date: 05 Jan 2001 08:57:51 +0000

>>>>> "Chris" == Chris Baker <address@hidden> writes:

    Chris> I'd like to have an repl just like the guile repl in my gtk
    Chris> app.  The problem is I can't just hand over control to
    Chris> gh_repl(), since I have to hand over control to gtk.  I can
    Chris> arrange to get a callback when there's input available, and
    Chris> I can evaluate it, but I'd like to reuse as much of the
    Chris> existing code as possible, so I can use the debugging
    Chris> facilities, etc.  I had a look through boot-9.scm, but it
    Chris> wasn't immediately clear to me what was going on, so I'm
    Chris> not quite sure how best to procede.  Does anyone have any
    Chris> ideas?

Take a look at the gtk-repl procedure in
/usr/local/share/guile/gtk-1.2/gtk.scm.  (Assuming you have installed
guile-gtk with prefix /usr/local.)  I think it does what you need - or
something very similar.

Regards,
        Neil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]