Re: Problem when closing a program
- From: Oscar Dávila <odavilar gmail com>
- To: Chris Vine <chris cvine freeserve co uk>
- Cc: gtkmm-list gnome org
- Subject: Re: Problem when closing a program
- Date: Fri, 22 May 2009 19:12:31 -0500
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/erroresthanks
--
Atentamente:
Oscar Dávila Ramírez
odavilar gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]