Re: Issue with gtk+ 2.8.15 for win32



On Fri, Mar 24, 2006 at 04:04:53PM -0500, Elden Armbrust wrote:
When exiting out of a program written in C using GTK+ 2.8.15, the 
process does not end (ever) but the window does close.

That is correct.  Gtk+ does not terminate applications just
because some of their windows was closed.  So the program
continues to run normally, it just do not display any
window now.

You need to connect to the "destroy" signal of the window
and do gtk_main_quit() (which makes gtk_main() return) in
the callback.  See the tutorial, section Getting started.

Yeti


--
That's enough.



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