Giter VIP home page Giter VIP logo

Comments (4)

StephanVerbeeck avatar StephanVerbeeck commented on May 27, 2024

The webview widget uses the native windows browser which still (hidden underneath) is the original internet explorer.
In .NET there is a webview2 which uses a more modern browser kernel but that has not been ported to GOlang WALK (yet).

from walk.

harrier77 avatar harrier77 commented on May 27, 2024

Hello, I found out that WebView is the old explorer engine. Is it possible to update it to the new WebView2?

from walk.

StephanVerbeeck avatar StephanVerbeeck commented on May 27, 2024

Yes and No,
Yes because it is possible (though a lot of work, of which most is testing),
No because the existing webview ALSO can display directories (it is both a file browser and a web browser).

If someone would like to do the work then duly take into account that it must be implement as a "webview2" and not "webview".
Meaning that the existing code and functionality must remain present (I need them) and the new webview will be a SECOND webview rather than replace the existing one.
This is the only way it can be done without affecting existing programs (.NET did it also like that).

However, as long as you don't need rounded corner of fancy javascript, the old webview works fine (e.g. for emails).
But it is not able to render most of the currently existing websites (throws tons of javascript errors).

from walk.

harrier77 avatar harrier77 commented on May 27, 2024

Thank you for your answer. I just finished the compilation of the official sample wxwidget "WebView" and I found out that it is the old webview. So you are right, WebView 2 should be another widget, different from WebView. But it would be very useful to develop a web application with java script. And somewhere in wxwidget documentation there is a hint about enabling WebView 2 . But i am not clever enough to follow it.

from walk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.