Extending a GTK+ Application with Guile

2012-05-25 Thread Kevin J . Fletcher
Hello Guilers. I'm currently writing some prototype code before starting a project and have a few questions that I hope some of you may be able to answer. 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

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.

Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Ludovic Courtès
Hi! Kevin J. Fletcher d...@kjfletch.co.uk skribis: THREAD1THREAD2 - --- | GTK | pty | guile | | VTE |---| shell | | - | --- | guile | | scripts| - 0) Is there anything wrong with this architecture?

Re: Extending a GTK+ Application with Guile

2012-05-25 Thread Kevin J . Fletcher
Paul Emsley paul.ems...@bioch.ox.ac.uk 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

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