Struct quicksilver::graphics::WindowBuilder
[−]
[src]
pub struct WindowBuilder { /* fields omitted */ }
A builder that constructs a Window and its Canvas
Methods
impl WindowBuilder
[src]
fn new() -> WindowBuilder
[src]
Create a default window builder
fn with_show_cursor(self, show_cursor: bool) -> WindowBuilder
[src]
Set if the window should show its cursor
fn with_resize_strategy(self, resize: ResizeStrategy) -> WindowBuilder
[src]
Set how the window should handle resizing
fn with_minimum_size(self, min_size: Vector) -> WindowBuilder
[src]
Set the minimum size for the window
On the web, this does nothing.
fn with_maximum_size(self, max_size: Vector) -> WindowBuilder
[src]
Set the maximum size for the window
On the web, this does nothing.
fn build(self, title: &str, width: u32, height: u32) -> (Window, Canvas)
[src]
Create a window and canvas with the given configuration