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.
terminate the
application process.
- Ardhan
--- ds.sun...@gmail.com wrote:
From: Sundaram
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
On Thu, Sep 24, 2009 at 11:01 AM, Sundaram wrote:
> 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.
>
> call gtk_main
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
__