Re: loops and contexts



Ardour runs N different MainContexts. It runs one for every user interface that can control the program (GUI, Generic MIDI, OSC, Mackie Control, ....). There are handlers for things taking place in every context, but GdkEvents only happen in the MainContext started and run by GTK+. The others have their own sources and do not generate GdkEvents (just file-descriptor-ready conditions).

On Fri, May 6, 2016 at 4:11 PM, Krzysztof <kj limes com pl> wrote:
Is there a reason to have more than one MainContext or more than one MainLoop? Or is it more appropriate to add event handlers to one application main loop (I mean GtkApplication)?

--
Regards
Krzysztof J.

_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list



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