Module: Roxane::WebKit

Extended by:
FFI::Library
Defined in:
lib/roxane/webkit.rb

Overview

Direct WebKitGTK bindings for the few affordances the webview C API doesn't wrap (today: full-content zoom). On Linux the library is already linked into the process by libwebview — we bind the soname libwebview itself links (4.1, falling back to 4.0). Where neither loads (macOS/Windows — their engines get their own bindings later), AVAILABLE is false and callers no-op gracefully.