Module: Roxane::FFI
- Extended by:
- FFI::Library
- Defined in:
- lib/roxane/ffi.rb
Overview
Thin FFI binding to the maintained webview/webview C library. Resilient at load
time: if libwebview can't be found (e.g. on a host without it yet), the gem
still loads — AVAILABLE is false and Window.new raises a clear error —
so pure-Ruby parts (the asset server) remain usable and testable.
Constant Summary collapse
- HINT_NONE =
0- HINT_MIN =
1- HINT_MAX =
2- HINT_FIXED =
3- NATIVE_HANDLE_UI_WINDOW =
webview_native_handle_kind_t — BROWSER_CONTROLLER is the engine view (WebKitWebView* on GTK), the door to engine calls webview doesn't wrap.
0- NATIVE_HANDLE_UI_WIDGET =
1- NATIVE_HANDLE_BROWSER_CONTROLLER =
2