webview_navigate

Function webview_navigate 

Source
pub unsafe extern "C" fn webview_navigate(
    w: *mut c_void,
    url: *const i8,
) -> i32
Expand description

Navigates webview to the given URL. URL may be a properly encoded data URI.

Example: @code{.c} webview_navigate(w, “https://github.com/webview/webview”); webview_navigate(w, “data:text/html,%3Ch1%3EHello%3C%2Fh1%3E”); webview_navigate(w, “data:text/html;base64,PGgxPkhlbGxvPC9oMT4=”); @endcode

@param w The webview instance. @param url URL.