[cells-gtk-devel] cells-gtk newbie problem nr 2: Unable to close app
Johan Ur Riise
johan at riise-data.no
Mon Oct 8 19:29:36 UTC 2007
Since MY-APP (se prev message) inherits from GTK-APP, and GTK-APP has this:
:on-delete-event (lambda (self widget event data)
(declare (ignore self widget event data))
(signal 'gtk-user-signals-quit)
0)
..., I expected that the function RUN-MY-APP should return when I close the
application window. (I run RUN-MY-APP in the REPL in SLIME).
But it does not, instead I get "window is not responding" from the window
manager with an option to terminate the sbcl process.
I have also tried variations with (gtk-widget-destroy widget) and
(gtk-main-quit). This closes the window, but I have to kill the function
twice with c-c c-c, and it is not possible to start it again in the same
image.
What is the correct way to stop the app?
More information about the cells-gtk-devel
mailing list