Module window
Source pub use mock::MockWindow;
- mock
- Mock Window implementation for headless testing.
- 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.
- WindowState
- Encapsulates and owns the global state of the application,
- 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.
- Urgency
- Delegate enum for
winit’s UserAttentionType - 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.
- WindowIdExt
- Extends
WindowId to give instances methods to retrieve properties of the associated window,
much as ViewId does.
- 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.