SFML community forums
Help => Window => Topic started by: colormotor on June 25, 2011, 07:44:10 pm
-
Hi
I am using SFML 1.6 on OSX and I am not able to clean up my app properly when quitting via the Quit menu entry.
I expected to get a ::Close event in that case but nothing happens.
Am I missing something here?
thanks!
-
No that's normal. If you do file->close you will get this event. This is the default ehavior of a mac program. Quit should quit immediatly the app.
-
Is there a way to receive a notification when the user quits?
I need to release opengl objects and save the app state when that happens
-
Is there a way to receive a notification when the user quits?
No, not with 1.6.
Menus are not implemented yet in version 2 so there's no planned behavior. Quit menu will probably be disable.
-
ok thanx!