Re: Problem when closing a program




You need to call it in a delete_event handler.  The delete event is
what you get when you click the 'x' button in the top right of the
window.

Chris


im trying something like this
window->signal_delete_event().connect( sigc::ptr_fun(function_that_close_program) );

where function_that_close_program have Gtk::Main::quit();

but it is giving me a lot of errors:
http://linux.mty.itesm.mx/~odavilar/errores

thanks

--
Atentamente:
Oscar Dávila Ramírez
odavilar gmail com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]