Enum glfw::WindowEvent[src]

pub enum WindowEvent {
    PosEvent(i32, i32),
    SizeEvent(i32, i32),
    CloseEvent,
    RefreshEvent,
    FocusEvent(bool),
    IconifyEvent(bool),
    FramebufferSizeEvent(i32, i32),
    MouseButtonEvent(MouseButton, Action, Modifiers),
    CursorPosEvent(f64, f64),
    CursorEnterEvent(bool),
    ScrollEvent(f64, f64),
    KeyEvent(Key, Scancode, Action, Modifiers),
    CharEvent(char),
}

Window event messages.

Variants

PosEvent
SizeEvent
CloseEvent
RefreshEvent
FocusEvent
IconifyEvent
FramebufferSizeEvent
MouseButtonEvent
CursorPosEvent
CursorEnterEvent
ScrollEvent
KeyEvent
CharEvent

Trait Implementations

Derived Implementations

impl Clone for WindowEvent

fn clone(&self) -> WindowEvent

impl Show for WindowEvent

fn fmt(&self, __arg_0: &mut Formatter) -> Result