On Friday 21 July 2006 10:57, Ag.yang wrote: Hello, > In order to resolve the consumed keyboardEvents, I call the method: > gtk_signal_connect(GTK_OBJECT(browser->mozEmbed), "dom_key_down", > GTK_SIGNAL_FUNC(dom_key_down_cb), browser); > to catch the keydown event. It's good to catch alphabet key,while > couldn't catch alt,shift,ctrl key.
modifiers are not passed as keyevents: http://lxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsWindow.cpp#2065 afaik, there is not direct way to catch such events on the level of DOM. regards, Michal _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
