Function browser_window::prelude::cbw_BrowserWindow_evalJs [−]
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.