[−][src]Function orbtk_api::application::create_window
pub fn create_window<F: Fn(&mut BuildContext<'_>) -> Entity + 'static>(
app_name: impl Into<String>,
theme: Theme,
request_sender: Sender<ShellRequest<WindowAdapter>>,
create_fn: F
) -> (WindowAdapter, WindowSettings, Receiver<WindowRequest>)
Creates a WindowAdapter
and a WindowSettings
object from a window builder closure.