guino 0.1.2

Create your GUI in D with webview


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

guino Build status docs

Unleash guino magic for effortless GUI development in D!

Hello, world!

Add guino to your dub project:

dub add guino

Minimal example:

  import guino;
  void main()
  {
    WebView wv = WebView(true);
    wv.html = "<html><body>hello world</body></html>";
    wv.size(640, 480, WEBVIEW_HINT_FIXED);
    wv.run();
  }

How does it works?

More examples here

Build libwebview on linux/macOS

Checkout this repository with all submodules:

git clone --recurse-submodules  https://github.com/trikko/guino

Compile libwebview (see also):

guino/webview/script/build.sh build

Install libwebview in your system:

sudo cp guino/webview/build/library/libwebview.* /usr/local/lib/

Build libwebview on windows

Libraries for windows are shipped inside the repository but you can build from source:

git clone --recurse-submodules  https://github.com/trikko/guino

Compile libwebview (see also):

guino/webview/script/build.bat build
Authors:
  • Andrea Fontana
Dependencies:
none
Versions:
0.1.3 2023-Oct-16
0.1.2 2023-Oct-16
0.1.1 2023-Oct-16
0.1.0 2023-Oct-15
~main 2024-Sep-17
Show all 5 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 63 downloads total

Score:
0.9
Short URL:
guino.dub.pm