On Thu, 2011-02-10 at 11:05 -0500, Daniel Vratil wrote:

> I've run to a problem with clutter initialization and mouse events. I'm 
> extending an application which uses standard gtk_init() and gtk_main() to 
> initialize GTK in main(). Later, when I initialize clutter by 
> gtk_clutter_init() I'm not receiving any mouse events in clutter. So the 
> question is: what can I do to receive them? Replacing gtk_init() by 
> gtk_clutter_init() is not an option for various reasons, although it is the 
> easiest way to make it work :)

don't call gtk_init() separately: use gtk_clutter_init().

the gtk_clutter_init() function will initialize gtk and clutter in the
correct order and will set up the bridge between the two.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Open Source Software Engineer
Intel Open Source Technology Center

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to