Greg Ercolano schrieb: > On 11/01/12 08:57, Klaus Rudolph wrote: >> Stupid beginner question: >> >> I have a main window with a menu bar. One of the menus should be "&Exit" >> and the callback should terminate the application. > > Just call exit(0); > It will close all windows, destroy all classes, free all memory. >
But this will terminate my complete application! I have a multi threaded application where the gui is only a part of them. A defined application shutdown is welcome :-) But thanks for the tip! Question: Is the exit(0) shortcut working via registered at_exit handler? But I can look for this myself :-) Regards Klaus _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

