gtk event handling in plugins question
Matt Kennedy <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.gtk |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hey all, I have a question WRT event handling in plugins with GTK. I'm trying to expose some native GUI controls in a XUL app on linux by using a scriptable plugin as an adapter. I want to wrap the use of this plugin in an XBL widget. I want the XBL widget to catch all the events so that app level accel keys and context menus get handled by the XUL part of the dialog and have the XBL widget hand off the things I want the native control to get via the scriptable interface. My problem is my gtk knowledge is lacking in how to configure the plugin widget/window to not catch events and let the XBL binding handle it. If I replace the <html:embed> element in my binding with a regular XUL element, the handlers pick up events ok, but with the embedded object they always go to the plugin. I've been through the code to the simple events test, checked out the abimoz plugin, and looked at the docs for gtk. I suspect that the answer has been staring me in the face and I'm just missing it. Any pointers to where specifically I should look to find out what I'm doing wrong would be appreciated. Thanks -- Matt Kennedy