public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: Ariel Rios <ariel@linuxppc.org>
Cc: Neil Jerram <neil@ossau.uklinux.net>,
	"guile-user@gnu.org" <guile-user@gnu.org>,
	guile-gtk <guile-gtk@sourceware.cygnus.com>
Subject: Re: how to avoid gtk-standalone-main in guile, when developping
Date: Sat, 01 Sep 2001 04:57:00 -0000	[thread overview]
Message-ID: <3B90C226.C76EB1@altosw.be> (raw)
In-Reply-To: <999269215.1502.15.camel@soleil>

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

  parent reply	other threads:[~2001-09-01  4:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-30  3:26 David Pirotte
2001-08-31  1:57 ` Neil Jerram
2001-08-31  4:01   ` David Pirotte
     [not found]     ` <999269215.1502.15.camel@soleil>
2001-09-01  4:57       ` David Pirotte [this message]
2001-08-31  6:16 ` Joshua Rosen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B90C226.C76EB1@altosw.be \
    --to=david@altosw.be \
    --cc=ariel@linuxppc.org \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=guile-user@gnu.org \
    --cc=neil@ossau.uklinux.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).