
25 Mar
2008
25 Mar
'08
3:37 p.m.
Peter is right at saying it's the sample GLFW program that didn't handle Window Close event. I didn't double check his modification because I run Linux/X11 with xmonad where there is no CLOSE button for any window, but I trust his modification works fine :-) As for the alternatives, I don't think there is a "nicer" model for general purpose GUI programming in functional style just yet. Yampa is nice in its treatment of continuous signals, but its event handling isn't any better. Sticking to plain-old imperative style with callbacks probably makes most practical sense. -- Regards, Paul Liu Yale Haskell Group http://www.haskell.org/yale