Module window

Module window 

Source

Structs§

Icon
An icon used for the window titlebar, taskbar, etc.
MacOSWindowConfig
Mac-OS specific window configuration properties, accessible via WindowConfig::with_mac_os_config( FnMut( MacOsWindowConfig ) )
RgbaIcon
WebWindowConfig
Web specific window (canvas) configuration properties, accessible via WindowConfig::with_web_config( WebWindowConfig ).
WinOSWindowConfig
WindowButtons
WindowConfig
Configures various attributes (e.g. size, position, transparency, etc.) of a window.
WindowCreation
WindowId
Identifier of a window. Unique for each window.

Enums§

Fullscreen
Fullscreen modes.
MacOsOptionAsAlt
macOS specific configuration for how the Option key is treated
ResizeDirection
Defines the orientation that a window resize will be performed.
Theme
The theme variant to use.
WinOsBackdropType
Describes a system-drawn backdrop material of a window.
WinOsCornerPreference
Describes how the corners of a window should look like.
WindowLevel
A window level groups windows with respect to their z-position.

Functions§

close_window
request the window to be closed
new_window
create a new window. You’ll need to create Application first, otherwise it will panic