Struct webview::WebView [−][src]
pub struct WebView { /* fields omitted */ }
Methods
impl WebView
[src]
impl WebView
pub fn new<S: Into<String>, SD: Into<String> + Display>(
title: S,
content: Content<SD>,
width: i32,
height: i32,
resizable: bool,
debug: bool
) -> Result<Self, NulError>
[src]
pub fn new<S: Into<String>, SD: Into<String> + Display>(
title: S,
content: Content<SD>,
width: i32,
height: i32,
resizable: bool,
debug: bool
) -> Result<Self, NulError>
pub fn dispatch<T: Fn(&WebView) + 'static>(&self, cb: T)
[src]
pub fn dispatch<T: Fn(&WebView) + 'static>(&self, cb: T)
pub fn set_title<S: Into<String>>(&self, title: S) -> Result<(), NulError>
[src]
pub fn set_title<S: Into<String>>(&self, title: S) -> Result<(), NulError>
pub fn eval<S: Into<String>>(&self, js: S) -> Result<(), NulError>
[src]
pub fn eval<S: Into<String>>(&self, js: S) -> Result<(), NulError>
pub fn inject_css<S: Into<String>>(&self, css: S) -> Result<(), NulError>
[src]
pub fn inject_css<S: Into<String>>(&self, css: S) -> Result<(), NulError>
pub fn join(&self)
[src]
pub fn join(&self)
pub fn exit(&self)
[src]
pub fn exit(&self)
pub fn loop_once(&self, blocking: bool) -> bool
[src]
pub fn loop_once(&self, blocking: bool) -> bool