Re: gtk_main



Jiang XU <jiang xu echostar com> writes:
> 
> If I have multi gtk_main in one applicaiton.
> I want to directly use g_main_quit(), instead of gtk_quit_main().  So
> that I can make sure to quit the correct gtk_main.
> 
> How I can get GMainLoop * from gtk++??
> 

Just don't use gtk_main(), instead create a GMainLoop and use
g_main_run(). Then you'll have the GMainLoop you created.

Havoc




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