From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Pirotte To: Ariel Rios Cc: Neil Jerram , "guile-user@gnu.org" , guile-gtk Subject: Re: how to avoid gtk-standalone-main in guile, when developping Date: Sat, 01 Sep 2001 04:57:00 -0000 Message-id: <3B90C226.C76EB1@altosw.be> References: <3B8E09B3.955D25A6@altosw.be> <87u1yp2sl6.fsf@laruns.ossau.uklinux.net> <3B8F6383.E1C7FD39@altosw.be> <999269215.1502.15.camel@soleil> X-SW-Source: 2001-q3/msg00038.html 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