webview_dispatch
public abstract Unit webview_dispatch( Pointer webview, WebviewJNA.WebviewLibrary.webview_dispatch_fn_callback fn, Pointer args)
Content copied to clipboard
Posts a function to be executed on the main thread.
It safely schedules the callback to be run on the main thread on the next main loop iteration. You normally do not need to call this function, unless you want to tweak the native window.
Parameters
webview
the handle of webview, usually returned by webview_create
fn
the callback
args
please ignore it and keep it Pointer.NULL
unless you know what you're doing.