Re: Problem when closing a program



On Wed, 20 May 2009 11:37:21 -0500
Oscar Dávila <odavilar gmail com> wrote:
> How can i close a program? the thing is i was using
> Gtk::Main::run(*window) and when i use hide in the main window the
> program closed but now im using Gtk::Main::run()
> because i want to hide de main window to open an other window and now
> when i close (hide) the main window to finish the program it dont
> finish, it keeps running, the main window hides but the program
> stills running in terminal.
 
Use Gtk::Main::quit() to exit the main event loop.

Chris



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