public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* gtk-standalone-main
@ 2001-04-17  1:27 David Pirotte
  2001-04-17 11:56 ` gtk-standalone-main Ariel Rios
  0 siblings, 1 reply; 7+ messages in thread
From: David Pirotte @ 2001-04-17  1:27 UTC (permalink / raw)
  To: guile-gtk

Hello,

Could someone be kind enough to help me with the following beginner
request:

I'd like to launch guile (or guile-gtk) 'manually', in order to
have a listener that remains active while I am working and:

	1. launching a little gtk app in a way that I can still
	   type things in the listener from where I launched it
	   so I can 'get 'set widgets and learn ...
	   (is there another way then: gtk-standalone-main ?)

	2. avoiding that hitting the 'destroy provoques the guile
	   listener exit as well: I tried the following:

	   (gtk-signal-connect window "destroy" gtk-false)

	   but as the little app is launched with gtk-standalone-main,
	   it appears not to be sufficient

Thanks a lot
david

^ permalink raw reply	[flat|nested] 7+ messages in thread
* gtk-standalone-main
@ 2001-08-21 17:17 David Pirotte
  0 siblings, 0 replies; 7+ messages in thread
From: David Pirotte @ 2001-08-21 17:17 UTC (permalink / raw)
  To: guile-gtk, guile-user

well,

now that i use

	guile 1.5.1
	gnome-guile-0.21pre2

and since compiling/installing gnome-guile-0.21pre2 does not produce a
guile-gtk binary, i am facing and 'old problem':
	
	guile requires the use of (gtk-standalone-main window) in order to 
	properly realize the window

	but that is incompatible with a devel cycle, since destroying the
	window also destroys the environment ...

so, what can i do? Marius suggested once to use
	
	(use-modules (gtk threads))
    	(gtk-threads-ensure-handler)

but i first of all it is broken (see below) and second, i don't know 
where to use (gtk-threads-ensure-handler), if it should be in the gui
code or typed in the guile listener ?

so, thanks for some hints on this one
david

;;
david@faust:~/alto/projects/guile/share/alto 31 $ guile
guile> (use-modules (gtk threads))
guile> (gtk-threads-ensure-handler)
/usr/local/share/guile/gtk/threads.scm:15:7: In expression (call-with-new-thread (lambda () #) %thread-handler):
/usr/local/share/guile/gtk/threads.scm:15:7: Unbound variable: call-with-new-thread
ABORT: (unbound-variable)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
guile>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-08-21 17:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-17  1:27 gtk-standalone-main David Pirotte
2001-04-17 11:56 ` gtk-standalone-main Ariel Rios
2001-04-17 13:59   ` gtk-standalone-main David Pirotte
     [not found]   ` <20010417225733.A20322@mail.aura.de>
2001-04-17 21:29     ` gtk-standalone-main Ariel Rios
2001-04-18  8:10       ` gtk-standalone-main David Pirotte
2001-04-20 10:20         ` gtk-standalone-main Marius Vollmer
2001-08-21 17:17 gtk-standalone-main David Pirotte

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).