Newer
Older
webview-d / examples / basic / source / app.d
@XXIV XXIV on 28 Sep 2023 197 bytes update basic example to use dub
import webview;

void main()
{
  WebView w = WebView(false, null);
  w.setTitle("Basic Example");
  w.setSize(480, 320, WindowSizeHint.None);
  w.setHtml("Thanks for using webview!");
  w.run();
}