Re: Close GTK Main window



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 sundar gmail com wrote:

From: Sundaram <ds sundar 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



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