Defines settings for a browser widget. Not all backends will respect all settings.
The openInNewWindow delegate is given these params.
Represents a browser setting that can be left default or specifically turned on or off.
/+ dub.sdl: name "web" dependency "arsd-official:minigui-webview" version="*" +/ import arsd.minigui; import arsd.minigui_addons.webview; void main() { auto app = WebViewApp(null); auto window = new Window; auto webview = new WebViewWidget("http://dlang.org/", window); window.loop; }
Added November 5, 2021. NOT YET STABLE.
status text and favicon change notifications implemented on Windows WebView2 on December 16, 2023 (so long as the necessary api version is available, otherwise it will silently drop it).
Dependencies: Requires arsd.png on Windows for favicons, may require more in the future.
A webview (based on arsd.webview) for minigui.
For now at least, to use this, you MUST have a WebViewApp in scope in main for the duration of your gui application.
Warning: CEF spams the current directory with a bunch of files and directories. You might want to run your program in a dedicated location.