Re: Problem when closing a program





On Fri, May 22, 2009 at 7:21 PM, Hubert Figuiere <hub figuiere net> wrote:

- 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

Thanks, the errors has gone, i have

bool function_that_close_program(GdkEventAny *){
    Gtk::Main::quit();   
    return false;
}

and the window now hides but the program stills running

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




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