Re: gtk-main-iteration -- use and understanding



On Sun, 2016-01-31 at 09:19 -0500, Robert Schroll wrote:
My first thought would have been to trigger that callback via a 
g_idle_add() [1] call

Thanks for your responses.

I think the idea of using "call gtk_main_iteration() in a while loop
with gtk_events_pending()" is OK for now. Later I may uses threads with
 gdk_threads_add_idle() and related functions as described in

https://developer.gnome.org/gdk3/stable/gdk3-Threads.html


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