RE: App doesn't quit



Perhaps you could solve this by not entering gtk_main in the first
place, and instead use the gtk_iteration calls to effectively control
the execution of the gtk_main loop yourself?

--ripple


On 02 Mar 2001 09:51:05 +0800, Chi Wa Au wrote:


It seems the main loop is *asleep* until gdk get an events (?)

Anyway, it works with gtk_exit(0), in place of gtk_main_quit.

I can't use gtk_exit() because in my project there are other threads
running.  The test program is only used to test whether I can terminate a
gtk window using api call.  So is there another way to quit the gtk main
loop??





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