Crate bevy_window[][src]

Modules

prelude

Structs

CloseWindow

An event that indicates a window should be closed.

CreateWindow

An event that indicates that a new window should be created.

CursorEntered
CursorLeft
CursorMoved
ReceivedCharacter

An event that is sent whenever a window receives a character from the OS or underlying system.

Window

An operating system window that can present content and receive user input.

WindowBackendScaleFactorChanged

An event that indicates a window’s OS-reported scale factor has changed.

WindowCloseRequested

An event that is sent whenever a close was requested for a window. For example: when the “close” button is pressed on a window.

WindowCreated

An event that is sent whenever a new window is created.

WindowDescriptor
WindowFocused

An event that indicates a window has received or lost focus.

WindowId
WindowMoved

An event that is sent when a window is repositioned in physical pixels.

WindowPlugin
WindowResizeConstraints

The size limits on a window. These values are measured in logical pixels, so the user’s scale factor does affect the size limits on the window. Please note that if the window is resizable, then when the window is maximized it may have a size outside of these limits. The functionality required to disable maximizing is not yet exposed by winit.

WindowResized

A window event that is sent whenever a window has been resized.

WindowScaleFactorChanged

An event that indicates a window’s scale factor has changed.

Windows

Enums

FileDragAndDrop

Events related to files being dragged and dropped on a window.

WindowCommand
WindowMode

Defines the way a window is displayed The use_size option that is used in the Fullscreen variant defines whether a videomode is chosen that best fits the width and height in the Window structure, or if these are ignored. E.g. when use_size is set to false the best video mode possible is chosen.

Functions

exit_on_window_close_system