Re: Problem when closing a program
- From: Hubert Figuiere <hub figuiere net>
- To: Oscar Dávila <odavilar gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Problem when closing a program
- Date: Fri, 22 May 2009 20:21:54 -0400
On 05/22/2009 08:12 PM, Oscar Dávila wrote:
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
- error messages in spanish are hard to understand
- check the signature of function_that_close_program(). It is obviously
wrong.
(*hint* it takes a GdkEventAny * as a unique argument and returns bool)
Hub
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]