On Tue, Oct 15, 2019 at 01:40:17PM -0700, Per Bothner wrote: > On 10/15/19 1:20 PM, P wrote: > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Tuesday, October 15, 2019 7:27 PM, Gavin Smith > > <gavinsmith0...@gmail.com> wrote: > > > WebKitGTK seemed to be the best option for a lightweight embedded > > > web-browser. I looked into other options, such as the Gecko engine > > > used inside Thunderbird, but apparently it is not supported any more > > > to embed it in other programs. WebKitGTK allowed access to the DOM > > > tree of the documents without the complication of communicating with > > > embedded JavaScript, as was needed with QtWebEngine. > > > > > > > Out of curiosity, have you looked at smaller browser engines, such as Dillo > > or Netsurf? > > Dillo does not support JavaScript or frames, which would seem to preclude > (or at least complicate) the kind of functionality we are hoping for.
JavaScript should not be necessary if there is DOM access from the C/C++ side, as the case with WebKitGTK (although it is not as easy as it could be). Frames should not be necessary either: for a table of contents side bar, I imagine this would be done as a widget outside of the embedded browser.