Sanel Zukan wrote:
>> Dear FLTK Gurus,
>>
>> Can someone point me in the right direction on
>> any efforts to embed Gecko (browser engine) into
>> FLTK app? Or for that matter any html browser..
>>
>> Thanks a bunch!
>
> There was efforts, but I will sound too pessimistic about them :)
> I played (actually, tried to play) with it, planning to add it as
> rendering engine in EDE code.
>
> After seeing what is needed to be done (not saying that you have to
> distribute almost half of the mozilla's code), it's simply not worth, unless
> you have a bunch of developers without daily life.
>
> Another, modern alternative is KHTML, used by Safari; code is much logic
> and cleaner with distinctive separation of GUI-needed and GUI-not-needed
> code (altought there is a lot of Qt non-gui calls, like QString
> etc.). At the end, this looks much easier to hack and addopt than mozilla's
> mess :).
Right, my approach is to just launch a browser rather than
embed one into my app.
Embedding would add so much bloat to my apps, and open me up to
requests for people using other browsers wanting features those have.
I agree with Ian from earlier in this thread, to either launch the
user's
default browser (eg. fl_open_uri()), or using FLTK's simple html viewer
in Fl_Help_View if it's just simple HTML viewing that's needed for e.g.
help docs.
If my app were /heavily/ dependent on a feature rich browser,
I'd probably investigate implementing it entirely in javascript
or as a browser plugin, rather than trying to wrap my app
around an existing browser.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev