Struct sdl2::video::WindowBuilder [] [src]

pub struct WindowBuilder { /* fields omitted */ }

The type that allows you to build windows.

Methods

impl WindowBuilder
[src]

[src]

Initializes a new WindowBuilder.

[src]

Builds the window.

[src]

Gets the underlying window flags.

[src]

Sets the underlying window flags. This will effectively undo any previous build operations, excluding window size and position.

[src]

Sets the window position.

[src]

Centers the window.

[src]

Sets the window to fullscreen.

[src]

Sets the window to fullscreen at the current desktop resolution.

[src]

Sets the window to be usable with an OpenGL context

[src]

Hides the window.

[src]

Removes the window decoration.

[src]

Sets the window to be resizable.

[src]

Minimizes the window.

[src]

Maximizes the window.

[src]

Sets the window to have grabbed input focus.

[src]

Creates the window in high-DPI mode if supported (>= SDL 2.0.1)

Trait Implementations

impl Debug for WindowBuilder
[src]

[src]

Formats the value using the given formatter.