Ada binding for a tiny cross-platform webview library to build modern cross-platform GUIs.
- Unix
- Windows
- macOS
with Webview; use Webview;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions; use Ada.Exceptions;
procedure Main is
w : Webview_Type;
begin
w := Create;
Set_Title(w, "Basic Example");
Set_Size(w, 480, 320, None);
Set_Html(w, "Thanks for using webview!");
Run(w);
Destroy(w);
exception
when E: Webview_Error => Put_Line(Exception_Message(E));
end Main;
This repo is released under the MIT License.