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.cr
webview.cr
window_manager.cr

Constant Summary

VERSION = {{ (`shards version \"/srv/crystaldoc.info/github-naqvis-webview-v0.2.5/src\"`).chomp.stringify }}

Class Method Summary

Class Method Detail

def self.version #

Get the library's version information.


[View source]
def self.window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false) #

[View source]
def self.window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false) #

[View source]
def self.with_window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false, &) #

RAII-style resource management with URL


[View source]
def self.with_window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false, &) #

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


[View source]