Re: Close GTK Main window



Is it possible to close a GTK main window through the code?

gtk_widget_destroy (mainWindow);

The application can continue running after the window is destroyed, if you simply omit the usual g_signal_connect (G_OBJECT (mainWindow), "destroy", G_CALLBACK (gtk_main_quit), NULL);


P.A.



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