Hi all,

I'm trying to embed an html page in my gtk-moz-embedding interface. I notice
that this html page contains flash animation.
And the problem is, when the focus is on the flash animation, i cannot get
any event in my interface.

I tried to use 

{   
   [...]
   
   myApp->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
   myApp->embed  = gtk_moz_embed_new();
   
   [...]
   
   gtk_signal_connect(GTK_OBJECT(myApp->embed), "key_press_event",
                         GTK_SIGNAL_FUNC(key_press_cb), NULL);
   //OR
   gtk_signal_connect(GTK_OBJECT(myApp->embed), "dom_key_down",
                        GTK_SIGNAL_FUNC(dom_key_down_cb), myApp);
   
   [...]
   
   gtk_widget_show(myApp->embed);
   gtk_widget_show(myApp->window);
   gtk_moz_embed_load_url(GTK_MOZ_EMBED(myApp->embed), "./mypage.html" );
   gtk_main();
}

But, It doesn't work.

Does anyone know how to solve this problem.


Thanks a lot,

David
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to