guile-gtk-general
[Top][All Lists]
Advanced

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

At last, a trivial success


From: Ken Restivo
Subject: At last, a trivial success
Date: Thu, 5 Aug 2004 21:19:46 -0700
User-agent: Mutt/1.4i

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't know why it took me sooo long to figure this out, but I finally did.
I'm sending this to the list so that others equally as clueless as I can search 
for it later.

I lusted after being able to interactively hack GTK apps on my gtk1.2 Debian 
Woody system in an interpreted environment, using a REPL. For some reason, I 
found it difficult to get a REPL while in a GTK app: gtk-main took over my 
guile instance.

About a year ago I asked about this and got answers that for some reason went 
over my head.

The solution turned out to be stunningly simple:

(use-modules (gtk repl))

... rest of program...

(gtk-repl) ;; instead of calling (gtk-main) or (gtk-standalone-main)

I'm now in total programming nirvana: I am tweaking a GUI application while it 
is running. I find this amazing.

Thank you for writing and maintaining Guile and gtk-guile!

- -ken
- -- 
- ---------------
The world's most affordable web hosting.
http://www.nearlyfreespeech.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFBEwbie8HF+6xeOIcRAv4xAKCXpXkFe/P5JLxyYuVe7jfYIGqS/wCfevKi
Hgel8c9U9O2H6RnPjo/HUP4=
=Z7zU
-----END PGP SIGNATURE-----




reply via email to

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