[EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Christopher Blizzard) wrote:
>
>> Maher Awamy wrote:
>>
>>
>>> The GtkMozEmbed widget does, i believe it registers listners to do
>>
> so -
>
>>> SkipStone recognizes key events just fine, you may want to check
>>
> out the source
>
>>> for gtkmozembed.
>>>
>>
>> That works because I load a XUL shell which has the keybindings
>
> attached
>
>> to it.
>>
>
>
> Would that be this code right here:
>
> mChromeLocation.AssignWithConversion
> ("chrome://embedding/browser/content/simple-shell.xul");
> mChromeNav->LoadURI(mChromeLocation.GetUnicode(),
> nsIWebNavigation::LOAD_FLAGS_NONE);
>
> http://lxr.mozilla.org/mozilla/source/embedding/browser/gtk/src/gtkmozem
> bed.cpp#404
>
> Will this work in an embedding app that doesn't use XUL?
>
That looks like the right code. You might be able to do it without XUL
and it's actually one of the things that's on my TODO list. I don't
have specifics yet, though.
--Chris
--
------------
Christopher Blizzard
http://people.redhat.com/blizzard/
mozilla.org - We're on a mission from God. Still.
------------