struct Espresso::WindowMoveEvent

Overview

Event triggered when the window is moved.

Defined in:

espresso/events/window_move_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def position : Position #

The new coordinates of the upper-left corner of the content area of the window.


[View source]
def x : Int32 #

The new x-coordinate, in screen coordinates, of the upper-left corner of the content area of the window.


[View source]
def y : Int32 #

The new y-coordinate, in screen coordinates, of the upper-left corner of the content area of the window.


[View source]