-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
Currently the webview_get_window binding is not implemented.
On Windows this is no big deal - you can just use Process.GetCurrentProcess().MainWindowHandle, but this won't work on other platforms (always returns 0).
Getting the native window handle is required for implementing platform-specific features in downstream applications, such as enabling spell checking on Linux via WebKit2GTK APIs.
This change shouldn't require new build of the native libs, just a small change to add the binding.
Proposed changes:
- Add
webview_get_window()inBindings.cs - Add public
GetWindow()method toWebview.csthat returns the native window handle
Metadata
Metadata
Assignees
Labels
No labels