Struct browser_window_core::browser_window::c::BrowserWindowImpl [−][src]
pub struct BrowserWindowImpl { /* fields omitted */ }
Trait Implementations
Executes the given JavaScript string. The result will be provided by invoking the callback function. Read more
Like eval_js
, except it can be called from any thread.
Causes the browser to navigate to the given URI.
fn new(
app: ApplicationImpl,
parent: WindowImpl,
source: Source,
title: &str,
width: Option<u32>,
height: Option<u32>,
window_options: &WindowOptions,
browser_window_options: &BrowserWindowOptions,
handler: ExternalInvocationHandlerFn,
_user_data: *mut (),
creation_callback: CreationCallbackFn,
_callback_data: *mut ()
)
fn new(
app: ApplicationImpl,
parent: WindowImpl,
source: Source,
title: &str,
width: Option<u32>,
height: Option<u32>,
window_options: &WindowOptions,
browser_window_options: &BrowserWindowOptions,
handler: ExternalInvocationHandlerFn,
_user_data: *mut (),
creation_callback: CreationCallbackFn,
_callback_data: *mut ()
)
Creates a new browser window asynchronously.
The BrowserWindowImpl
handle to the new browser window will be passed via a callback. Read more
Gives a handle to the underlying window.
Auto Trait Implementations
impl RefUnwindSafe for BrowserWindowImpl
impl !Send for BrowserWindowImpl
impl !Sync for BrowserWindowImpl
impl Unpin for BrowserWindowImpl
impl UnwindSafe for BrowserWindowImpl
Blanket Implementations
Mutably borrows from an owned value. Read more