api

main.ch

Declarations in main.ch

1 declarationswebview

Declarations

Public only
webview#
Publicnamespace
namespace webview
---------------------------------------------------------------------------
create#
Publicfunction
func create(title : *char, width : int, height : int) : Result<WebView, WebViewError>
Create a new WebView with the given title, width, and height.
open_url#
Publicfunction
func open_url(url : *char, title : *char, width : int, height : int) : Result<Unit, WebViewError>
Convenience: create, load URL, and show
open_html#
Publicfunction
func open_html(html : *char, title : *char, width : int, height : int) : Result<Unit, WebViewError>
Convenience: create, load HTML, and show