[][src]Crate orbtk_shell

Window shell abstraction layer used by OrbTk. Provides support for desktop and web.

Example

Basic usage of the shell:


use orbtk_shell::prelude::*;

let shell = WindowBuilder::new(MyCustomWindowAdapter::new())
                        .title("Window")
                        .bounds((0.0, 0.0, 100.0, 100.0))
                        .build();

let runner = ShellRunner {
    shell,
    updater: Box::new(MyCustomUpdater::new())
};

runner.run()

Modules

event

This module contains elements to work with window events.

native
platform

This module contains a platform specific implementation of the window shell.

prelude
render
utils
window_adapter

This module contains traits to inject custom logic into the window shell.

Structs

WindowSettings

Contains settings of a window.

Enums

ShellRequest

Used to send a request to the application shell.

WindowRequest

Used to send a request to the window.