[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to avoid gtk-standalone-main in guile, when developping
From: |
Joshua Rosen |
Subject: |
Re: how to avoid gtk-standalone-main in guile, when developping |
Date: |
Fri, 31 Aug 2001 09:13:45 -0400 |
David Pirotte wrote:
>
> Hi,
>
> Can someone tell me how another way then gtk-standalone-main
> to launch a gui in guile? this kills the development environment
> when quitting the app ... (a terrible thing, when you have 15 modules
> including postres connection ... and just the latest that you work on
> ...)
>
> Attached is a very simple example that uses gtk-standalone-main: what
> should I do to avoid it (but be abble to 'launch' the gui of course),
> getting error display messages in the guile listener and above all,
> not loosing the environment, whether the gui is bugged, or whether
> I use the quit menu ...
Well, the code defining gtk-standalone-main (in guilegtk 0.19) is:
(define-public (gtk-standalone-main toplevel)
(cond ((gtk-standalone?)
(gtk-signal-connect toplevel "destroy" gtk-exit)
(gtk-main))))