Module show_image::event[][src]

Expand description

Event types.

Structs

DeviceAddedEvent

A new device was added.

DeviceButtonEvent

A button on a device was pressed or released.

DeviceId

Identifier of an input device.

DeviceKeyboardInputEvent

A device generated keyboard input.

DeviceMotionEvent

An analog axis of a device was moved.

DeviceMouseMotionEvent

The physical position of a pointing device was moved.

DeviceMouseWheelEvent

The scroll-wheel of a mouse was moved.

DeviceRemovedEvent

A device was removed.

DeviceTextInputEvent

A device generated text input.

EventHandlerControlFlow

Control flow properties for event handlers.

KeyboardInput

Keyboard input.

LogicalPosition

A position represented in logical pixels.

LogicalSize

A size represented in logical pixels.

ModifiersState

Represents the current state of the keyboard modifiers

MouseButtonState

The state of all mouse buttons.

PhysicalPosition

A position represented in physical pixels.

PhysicalSize

A size represented in physical pixels.

Touch

Represents a touch event

WindowAxisMotionEvent

A window received axis motion input.

WindowCloseRequestedEvent

A window was closed.

WindowDestroyedEvent

A window was destroyed.

WindowDroppedFileEvent

A file was dropped on a window.

WindowFocusGainedEvent

A window gained input focus.

WindowFocusLostEvent

A window lost input focus.

WindowHoveredFileCancelledEvent

A file that was being hovered over a window was canceled..

WindowHoveredFileEvent

A file is being hovered over a window.

WindowKeyboardInputEvent

A window received keyboard input.

WindowMouseButtonEvent

A window received mouse input.

WindowMouseEnterEvent

The mouse cursor entered the window area.

WindowMouseLeaveEvent

The mouse cursor left the window area.

WindowMouseMoveEvent

The mouse cursor was moved on a window.

WindowMouseWheelEvent

A window received mouse wheel input.

WindowMovedEvent

A window was moved.

WindowRedrawRequestedEvent

A redraw was requested by the OS or application code.

WindowResizedEvent

A window was resized.

WindowScaleFactorChangedEvent

The scale factor between logical and physical pixels for a window changed.

WindowTextInputEvent

A window received text input.

WindowThemeChangedEvent

The theme for a window changed.

WindowTouchEvent

A window received touch input.

WindowTouchpadPressureEvent

A window received touchpad pressure input.

Enums

DeviceEvent

Raw hardware events that are not associated with any particular window.

ElementState

State of a button or key.

Event

Global event.

Force

Describes the force of a touch event

MouseButton

A mouse button.

MouseScrollDelta

Describes a difference in the mouse scroll wheel state.

StartCause

Describes the reason the event loop is resuming.

Theme

OS theme (light or dark).

TouchPhase

Describes touch-screen input state.

VirtualKeyCode

Symbolic name for a keyboard key.

WindowEvent

Window event.

Type Definitions

AxisId

Identifier for a specific analog axis on some device.

ButtonId

Identifier for a specific button on some device.

ScanCode

Hardware-dependent keyboard scan code.