Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 587 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 587 Bytes

webviewd - D bindings for webview

Usage

import webview;

void main()
{
    auto window = webview_create(1, null);
    webview_set_title(window, cast(char*)"Webview test");
    webview_set_size(window, 1024, 720, webview_hint_t.WEBVIEW_HINT_NONE);
    webview_navigate(window, cast(char*)"https://wikipedia.com/");
    webview_run(window);
}

MinGW is required for Windows

Reference

webview - A tiny cross-platform webview library for C/C to build modern cross-platform GUIs.

License

Licensed under the MIT License.