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

pub struct WindowBuilder { /* fields omitted */ }

The type that allows you to build windows.

Methods

impl WindowBuilder
[src]

Initializes a new WindowBuilder.

Builds the window.

Gets the underlying window flags.

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

Sets the window position.

Centers the window.

Sets the window to fullscreen.

Sets the window to fullscreen at the current desktop resolution.

Sets the window to be usable with an OpenGL context

Hides the window.

Removes the window decoration.

Sets the window to be resizable.

Minimizes the window.

Maximizes the window.

Sets the window to have grabbed input focus.

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

Trait Implementations

impl Debug for WindowBuilder
[src]

Formats the value using the given formatter.