Hi,
If I want to get events from gecko in java what do I need to do? Are
there any suggestions for this?
I am currently trying to embed webclient in my java app, but I need to
listen to html links, text inputs, etc
and depending on the..get the browser to do stop or go to different
link, etc.
Any plans how to add this in java? anything I can look at that might
help. Not a big C++ programmer, but
interested in finding out, my choices. This would be really good to
have. Thanks in advance.
R/
Jeet
Adam Lock wrote:
> Steve Clark wrote:
>
>> Mack Stevenson wrote:
>>
>>> Hi everyone,
>>>
>>> Following Steve Clark's suggestion on the mozilla-layout NG, I had
>>> a look at both mozilla/webshell/tests/viewer and
>>> mozilla/embedding/tests/gtkembed in the CVS tree. I wish to assemble
>>> a simple HTML viewer into an existing application which uses the
>>> Linux framebuffer as the display target; after browsing throught
>>> the two test apps, and since I am not using any windowing toolkit
>>> at all, I start to wonder what options I've got left, since I still
>>> haven't found any demo of gecko rendering files to a target that
>>> doesn't support a windowing toolkit.
>>
>>
>>
>> I suspect you'd have to write some code here to make this happen.
>> Since we don't support passing in the rendering methods, your next
>> best strategy would be to write your own implementation of the
>> rendering context. I don't think you need to do anything with
>> mozilla/view. I think the view system is a platform-neutral
>> abstraction. There is platform/toolkit specific code in
>> mozilla/widget you may need to look at as well.
>>
>> Having done this, I doubt your implementation will work correctly
>> with plug-ins, but it should do the right thing with all the
>> rendering under gecko's control. There may be some hints about how
>> some of this works in the printing code.
>
>
> There is an M18 port of Mozilla to nano-X that will probably map onto
> the linux framebuffer with the right build settings:
>
> http://www.igelaus.com.au/projects/nanox.html
>
> http://microwindows.censoft.com/
>
> Adam
>