guile-user
[Top][All Lists]
Advanced

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

gtk-standalone-main


From: David Pirotte
Subject: gtk-standalone-main
Date: Wed, 22 Aug 2001 01:30:19 +0200

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

;;
address@hidden:~/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>



reply via email to

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