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




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to