module Webview
Overview
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.
Defined in:
lib.crwebview.cr
window_manager.cr
Constant Summary
-
VERSION =
{{ (`shards version \"/srv/crystaldoc.info/github-naqvis-webview-v0.2.5/src\"`).chomp.stringify }}
Class Method Summary
-
.version
Get the library's version information.
- .window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false)
- .window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false)
-
.with_window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false, &)
RAII-style resource management with URL
-
.with_window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false, &)
RAII-style resource management - automatically destroys webview when block exits
Class Method Detail
def self.window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false)
#
def self.with_window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false, &)
#
RAII-style resource management with URL