WindowEvent

AppLifecycle

  1. bevy_window::event::AppLifecycle

CursorEntered

  1. bevy_window::event::CursorEntered

CursorLeft

  1. bevy_window::event::CursorLeft

CursorMoved

  1. bevy_window::event::CursorMoved

FileDragAndDrop

  1. bevy_window::event::FileDragAndDrop

Ime

  1. bevy_window::event::Ime

RequestRedraw

  1. bevy_window::event::RequestRedraw

WindowBackendScaleFactorChanged

  1. bevy_window::event::WindowBackendScaleFactorChanged

WindowCloseRequested

  1. bevy_window::event::WindowCloseRequested

WindowCreated

  1. bevy_window::event::WindowCreated

WindowDestroyed

  1. bevy_window::event::WindowDestroyed

WindowFocused

  1. bevy_window::event::WindowFocused

WindowMoved

  1. bevy_window::event::WindowMoved

WindowOccluded

  1. bevy_window::event::WindowOccluded

WindowResized

  1. bevy_window::event::WindowResized

WindowScaleFactorChanged

  1. bevy_window::event::WindowScaleFactorChanged

WindowThemeChanged

  1. bevy_window::event::WindowThemeChanged

MouseButtonInput

  1. bevy_input::mouse::MouseButtonInput

MouseMotion

  1. bevy_input::mouse::MouseMotion

MouseWheel

  1. bevy_input::mouse::MouseWheel

PinchGesture

  1. bevy_input::gestures::PinchGesture

RotationGesture

  1. bevy_input::gestures::RotationGesture

DoubleTapGesture

  1. bevy_input::gestures::DoubleTapGesture

PanGesture

  1. bevy_input::gestures::PanGesture

TouchInput

  1. bevy_input::touch::TouchInput

KeyboardInput

  1. bevy_input::keyboard::KeyboardInput

KeyboardFocusLost

  1. bevy_input::keyboard::KeyboardFocusLost

Description

Wraps all bevy_window and bevy_input events in a common enum.

Read these events with EventReader<WindowEvent> if you need to access window events in the order they were received from the operating system. Otherwise, the event types are individually readable with EventReader<E> (e.g. EventReader<KeyboardInput>).

Functions