Skip to content

Latest commit

 

History

History
executable file
·
44 lines (35 loc) · 1.31 KB

README.md

File metadata and controls

executable file
·
44 lines (35 loc) · 1.31 KB

webview-ada

Ada binding for a tiny cross-platform webview library to build modern cross-platform GUIs.

Requirements

Usage

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;

References

License

This repo is released under the MIT License.