Trait wry::WebViewBuilderExtUnix

source ·
pub trait WebViewBuilderExtUnix<'a> {
    // Required method
    fn new_gtk<W>(widget: &'a W) -> Self
       where W: IsA<Container>;
}

Required Methods§

source

fn new_gtk<W>(widget: &'a W) -> Self
where W: IsA<Container>,

Create the webview inside a GTK container widget, such as GTK window.

§Panics:
  • Panics if gtk::init was not called in this thread.

Object Safety§

This trait is not object safe.

Implementors§