module

Webview

Crystal bindings for zserge's Webview which is an excellent cross-platform single header webview library for C/C++ using Gtk, Cocoa or MSHTML respectively.

Constants

VERSION = {{ (`shards version \"/tmp/tmp.PcCaMj/src/src\"`).chomp.stringify }}

Class methods

version

Get the library's version information.

Source
window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false)
Source
window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false)
Source
with_window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false, &)

RAII-style resource management with URL

Source
with_window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false, &)

RAII-style resource management - automatically destroys webview when block exits

Source

Nested types