Hi Noah,

I am just working on a similar problem. I integrated the clutter  main loop 
into the OSX NSApp mainloop.
It works so far and as soon I have cleaned up the code and solved some litte 
issues I will release it for the public.

The trick is to use g_main_context_iteration from your own main loop.

Roland




On 12.08.2012, at 21:46, Noah Callaway wrote:

I'm currently looking into selecting a UI library for a small game I'm working 
on. Clutter looks like an awesome GUI library and is pretty much the way I want 
to go.

My only question: Clutter controls the "main loop" (through the 
clutter_main()). In my game's engine, I want to control main loop. Has anyone 
integrated Clutter into a game-environment without giving it the control of the 
main loop?

Can I run Clutter on a separate thread, and manually inject events into it?
_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to