Re: event-repl
- From: Vollmer Marius <mvo zagadka ping de>
- To: Jay Bloodworth <jay pathways sde state sc us>
- Cc: Gnome Mailing List <gnome nuclecu unam mx>
- Subject: Re: event-repl
- Date: 16 Apr 1998 10:49:02 +0200
Jay Bloodworth <jay@pathways.sde.state.sc.us> writes:
> I'm trying to grok guile-gtk and I can't quite figure out how
> event-repl.scm fits in. I think I know what it is supposed to do, but
> since it's syntax and sematics appear to be different different from the
> standard guile repl function, I can't figure out how to call it to drive
> guile into the event drive r-e-p loop.
The program guile-gtk is supposed to boot right into this gtk-repl.
% guile-gtk
gtk>
You can get a gtk-repl from a vanilla Guile interpreter like this
% guile -c "(use-modules (toolkits gtk)) (gtk-repl)"
gtk>
I still consider this gtk-repl a hack and plan to use the
scm_internal_select hooks in the future. That would cleanly integrate
Gtk's event loop into whatever Guile is doing, including running a
repl.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]