Handbook
Glossary
stop-event-loop ( -- )
Vocabulary
ui
.
backend
Word description
Called by the UI to tell the backend to stop itself. Only needed by the GTK backend that otherwise gets stuck in 'gtk_main'.
Definition
IN:
ui.backend
HOOK:
stop-event-loop
ui-backend
( -- )
Methods
USING:
gtk2.ffi
ui.backend
ui.backend.gtk2
;
M:
gtk2-ui-backend
stop-event-loop
gtk_main_quit
;
USING:
kernel
ui.backend
;
M:
object
stop-event-loop
;