Joe 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..
The simplest solution is to avoid doing that. Assuming a Linux or Unix only system, a simple work-around would be to generate the HTML into a file /tmp/foo123.html and to fork/exec the "firefox /tmp/foo123.html" command which should be enough. As you know this does not start a new browser if one is already running. If you are ready for many weeks of development, you could consider developing a framework for embedding a GTK or a QT widget inside FLTK. Given that HTML widgets are extremely complex (because HTML is huge today!) this is nearly required to embed even a single instance of such widgets. But I don't understand why are you asking this question? What exactly do you want to achieve? What is your application? Maybe giving up using FLTK here and going to a toolkit (GTK, QT, ...) which already offers HTML widgets is the simplest stuff. Alternatively you make your application Web based (e.g. FastCGI http://fastcgi.com/ perhaps using Wt see http://www.webtoolkit.eu/wt/ for more) and give up FLTK. But I am not an FLTK, GTK, QT, or Gecko expert. So take all this with caution... -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net | mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} *** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
