Re: [gtk-list] [patch] mainloop



//This patch makes some fairly major changes to the GTK mainloop.  The
//main effective difference is that the mainloop can be called
//recursively from within a timeout or idle function. This probably
//isn't too useful for GTK programs in general, but it is meant to allow
//to allow the gtk mainloop to be used for hybrid GTK/ILU programs.

Does that mean that it was already possible to call the main loop recursively 
from a signal callback? If that is so, is that the way to go about building 
functions like, for example, my_ask_yes_or_no( "Really want to quit?" ), which 
would pop up a modal dialog box and return after the user clicks on the yes or 
no button?

Regards,

Johannes.




--
"You cannot save time -- you only choose how to spend it." -- Buck Tilton

<insert funny description here>




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