What could be possible is to embed the UI engine of a web browser. This is how electron works (the UI engine behind vs code) it hosts the chrome rendering engine. Similarly Tauri , a rust equivalent of electron.
Some UI toolkits have a standard 'web browser widget' to facilitate this. Here a gtk one https://www.webkitgtk.org/
I tend to believe it is doable (with FLTK 1.4 patched by you) on Linux with an X11 or Wayland display server. Since both X11 or Wayland protocols are enabling (with their usual extensions) boxed subwindows.
Technically both FLTK and GTK are open source and X11 and Wayland
compatible. So in theory embedding GTK windows inside an FLTK one
(or vice versa) is doable. Of course it would requires months of
work.
Probably extending GNU emacs is much easier for that purpose. It
has most of the code you need.
sadly I am not volunteering since I am already developing
-without being funded yet- the RefPerSys
inference engine (it uses FLTK) ; a possible approach might be to
adapt extend sophisticated macroprocessors or code generators like
GNU m4, GNU autoconf or https://logological.org/gpp to ease the
generation of the glue code. Perhaps having several processes
communicating with e.g. JSONRPC might be easier.
Regards from near Paris in France
-- Basile STARYNKEVITCH <bas...@starynkevitch.net> 8 rue de la Faïencerie, 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/ -gives my mobile number +33 6 8501 .... See/voir: https://github.com/RefPerSys/RefPerSys
On 27 Jun 2024, at 19:53, Basile Starynkevitch <bas...@starynkevitch.net> wrote:
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/48f70d44-8481-47ad-84a8-12228765c992%40starynkevitch.net.