Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Paul Emsley
On 24/05/12 20:11, Kevin J.Fletcher wrote: Hello Guilers. My intent is to add guile as a method of [optionally, at build time] extending a GTK+ application. With the addition of being able to run guile scripts I hope to provide a guile-shell to give real-time interactive power. Very good. Th

Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Ludovic Courtès
Hi! Kevin J. Fletcher skribis: > THREAD1THREAD2 > - --- > | GTK | pty | guile | > | VTE |<--->| shell | > | - | --- > | guile | > | scripts| > - > > 0) Is there anything wrong with this architecture? Sounds good

Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Kevin J . Fletcher
Paul Emsley writes: > By "at the same time" do you mean in "a different thread"? > > If so, don't do that. Yes, this was my meaning. > I use scm_shell() but only for command-line/non-gtk-graphics mode. > To interact with guile I use guile-gui. > > It is not clear to me that you need VTE and thr

Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Kevin J . Fletcher
l...@gnu.org (Ludovic Courtès) writes: > Sounds good at first sight. In fact, you could look at (system repl > server), which implements something like that. That’s what the > ‘--listen’ command-line option uses. I did see --listen but didn't look to far into it. As my first attempt (routing ST