Of course the easy way to to go back from a thread and run something in the main gui thread is to use timeout-add directly and let it run with no timeout and only once, like:
(defmacro run-in-main (&body body)
`(gtk-ffi:with-gdk-threads
(cgtk:timeout-add 0 (lambda ()
,@body
nil #|"only once"|#))))
_______________________________________________
cells-gtk-devel site list
[email protected]
http://common-lisp.net/mailman/listinfo/cells-gtk-devel
