[][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,
    update: Rc::new(Cell::new(true)),
    running: Rc::new(CellL:new(true)),
    updater: Box::new(MyCustomUpdater::new())
};

runner.run()

Modules

event

This module contains elements to work with window events.

platform

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

prelude
render
utils
window

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