guile-user
[Top][All Lists]
Advanced

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

Re: how to avoid gtk-standalone-main in guile, when developping


From: David Pirotte
Subject: Re: how to avoid gtk-standalone-main in guile, when developping
Date: Sat, 01 Sep 2001 13:10:30 +0200

Ariel Rios wrote:

> > I'd like to have (1) and (2):
> >
> >       - launching guile
> >       - using the main module (the one that uses many many others)
> >   -->
> >  |    - 'launching manually' my app
> >  |    - killing the app-main-window to further develop/debug ...
> >  |    - 'manually' loading the gui-app-file for modified code
> 
> I think you can do what you are trying it with:
> 
> (define (window)
>   (let ((window (gtk-window-new 'toplevel))
>         (button (gtk-button-new)))
>     (gtk-container-add window button)
>     (gtk-widget-show-all window)
>     (gtk-signal-connect button "clicked" (lambda () (gtk-widget-destroy
> window)(gtk-main-quit)))
>     (gtk-main)))

it is a start, but when I launch (window) and while it is 'alive', i can
not eval anything in the listener

is there a way to have seperate repl?

thanks
david



reply via email to

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