Re: How to wait for a destruction of a dialog?



Warrior <ymg azstarnet com> writes: 
I already figured out how to do it - call another gtk_main() in open_dialog,
then call gtk_main_quit() in the callback. Seems to work :)
Thanks for the tip anyway.


There are some subtleties, be sure you handle delete_event for example 
and it's better to use g_main_run() on a private main loop.

Havoc




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