Re: [Vala] How to use Game loop style with Glib main loop(for events)?



I'm glad it's possible. Can you please explain how do you integrate this?
I'm new(half year) for the glib concepts, so the only integration I know with Glib main loop is Idle.add 
()...
Does you do this single threaded, or dual?

Just using the main thread, with MainContext.iteration()
http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#g-main-context-iteration



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