Function browser_window::prelude::cbw_BrowserWindow_evalJs
source · pub unsafe extern "C" fn cbw_BrowserWindow_evalJs(
bw: *mut cbw_BrowserWindow,
js: cbw_CStrSlice,
callback: Option<unsafe extern "C" fn(_: *mut cbw_BrowserWindow, _: *mut c_void, _: *const i8, _: *const cbw_Err)>,
cb_data: *mut c_void
)
Expand description
Executes the given JavaScript and calls the given callback (on the GUI thread) to provide the result.