From: Andy Wingo <wingo@pobox.com>
To: anoglad <anoglad@gmx.at>
Cc: guile-user@gnu.org
Subject: Re: gtk-main and guile repl together
Date: Mon, 09 Jan 2012 23:27:12 +0100 [thread overview]
Message-ID: <87r4z84im7.fsf@pobox.com> (raw)
In-Reply-To: <4EC563FF.9010609@gmx.at> (anoglad@gmx.at's message of "Thu, 17 Nov 2011 20:43:59 +0100")
Hi,
On Thu 17 Nov 2011 20:43, anoglad <anoglad@gmx.at> writes:
> Is there a convenient way to run the gtk-main loop and the guile repl at
> the same time? I'd like to be able to create widgets interactively.
There are three options.
* Run a special console REPL that integrates with the main loop. See
glib/gnome/gobject/event-repl.scm and glib/gnome/glib.scm in the
guile-gnome-platform distribution.
* Run a special graphical REPL with a soft port that runs the main
loop. See gtk/examples/repl.scm in the guile-gnome-platform
distribution.
* Run the normal REPL in a separate thread. We don't make this very
easy, currently, but it is possible to do:
http://blogs.operationaldynamics.com/andrew/software/gnome-desktop/gtk-thread-awareness
http://blogs.operationaldynamics.com/andrew/software/java-gnome/thread-safety-for-java
Cheers,
Andy
--
http://wingolog.org/
prev parent reply other threads:[~2012-01-09 22:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 19:43 gtk-main and guile repl together anoglad
2011-11-17 19:49 ` Daniel Ridge
2011-11-17 19:51 ` Daniel Ridge
2012-01-09 22:27 ` Andy Wingo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4z84im7.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=anoglad@gmx.at \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).