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.
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.