From: Andy S. <laz...@gm...> - 2010-07-16 14:55:38
|
Hi Axel, I'm check http://hackage.haskell.org/trac/gtk2hs/ticket/1172 Report said ------------------------------> report start <------------------------------ When I press the "Close" button in the opengl gtk2hs demo, the window stays up, and control returns to ghci. I fixed my own copy by changing Gtk.onClicked button Gtk.mainQuit to Gtk.onClicked button (Gtk.widgetDestroy window) At least one other demo (carsim) has the same bug. I haven't checked them all. ------------------------------> report end <------------------------------ I have test it in ghci, i can reproduce this problem. Why "Gtk.onClicked button Gtk.mainQuit" can't work in ghci? Any trick? Thanks, -- Andy |