Hi, GTK+ application should use at least one main loop, once you have called gtk_main() then the loop is running, your main window keep showing because this loop, you can exit from the main loop (or your main window) anytime by calling gtk_main_quit() or use standard function exit() to just terminate the application process.
- Ardhan --- ds.sun...@gmail.com wrote: From: Sundaram <ds.sun...@gmail.com> To: gtk-app-devel-list@gnome.org Subject: Close GTK Main window Date: Thu, 24 Sep 2009 11:01:40 +0530 Dear All, Is it possible to close a GTK main window through the code? I want to programmatically close the GTK main window when certain condition is satisfied. How do i do this? Please give me a sample code for this. Thanks & Regards Sundaram. D _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _____________________________________________________________ Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list