struct Espresso::WindowMaximizeEvent

Overview

Event that is triggered when a window is maximized or restored from that state. Restored does not mean the window is in a non-maximized windowed state. A window could be restored to a full screen or iconified state.

Defined in:

espresso/events/window_maximize_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def maximized? : Bool #

Indicates whether the window is currently maximized.


[View source]
def restored? #

Indicates whether the window is currently restored (not maximized).


[View source]