Module show_image::event
source · Expand description
Event types.
Structs§
- A new device was added.
- A button on a device was pressed or released.
- Identifier of an input device.
- A device generated keyboard input.
- An analog axis of a device was moved.
- The physical position of a pointing device was moved.
- The scroll-wheel of a mouse was moved.
- A device was removed.
- A device generated text input.
- Control flow properties for event handlers.
- Keyboard input.
- Represents the current state of the keyboard modifiers
- The state of all mouse buttons.
- Represents a touch event
- A window received axis motion input.
- A window was closed.
- A window was destroyed.
- A file was dropped on a window.
- A window gained input focus.
- A window lost input focus.
- A file that was being hovered over a window was canceled..
- A file is being hovered over a window.
- A window received keyboard input.
- A window received mouse input.
- The mouse cursor entered the window area.
- The mouse cursor left the window area.
- The mouse cursor was moved on a window.
- A window received mouse wheel input.
- A window was moved.
- A redraw was requested by the OS or application code.
- A window was resized.
- The scale factor between logical and physical pixels for a window changed.
- A window received text input.
- The theme for a window changed.
- A window received touch input.
- A window received touchpad magnify input.
- A window received touchpad pressure input.
- A window received touchpad rotate input.
Enums§
- Raw hardware events that are not associated with any particular window.
- State of a button or key.
- Global event.
- Describes the force of a touch event
- A mouse button.
- Describes a difference in the mouse scroll wheel state.
- Describes the reason the event loop is resuming.
- OS theme (light or dark).
- Describes touch-screen input state.
- Symbolic name for a keyboard key.
- Window event.
Type Aliases§
- Identifier for a specific analog axis on some device.
- Identifier for a specific button on some device.
- Hardware-dependent keyboard scan code.