Struct sciter::window::Builder [] [src]

pub struct Builder { /* fields omitted */ }

Builder pattern for window creation.

For example,

let mut frame = sciter::window::Builder::main_window()
  .with_size((800,600))
  .resizeable()
  .glassy()
  .create();

Methods

impl Builder
[src]

[src]

Main application window (resizeable with min/max buttons and title). Will terminate the app on close.

[src]

Popup window (with min/max buttons and title).

[src]

Child window style. if this flag is set all other flags are ignored.

[src]

If you want to start from scratch.

[src]

Start with some flags.

[src]

Main window style (appears in taskbar). Will terminate the app on close.

[src]

Popup style, window is created as topmost.

[src]

Tool window style (with thin titlebar).

[src]

Specify the parent window (e.g. for child creation).

[src]

Specify the precise window size in (width, height) form.

[src]

Specify the precise window position in (X, Y) form.

[src]

Specify the exact window rectangle in (X, Y, W, H) form.

[src]

Top level window, has titlebar.

[src]

Can be resized.

[src]

Can not be resized.

[src]

Has minimize / maximize buttons.

[src]

Glassy window.

[src]

Transparent window.

[src]

Consume the builder and call Window::create() with built parameters.

Trait Implementations

impl Default for Builder
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl !Send for Builder

impl !Sync for Builder