struct Espresso::WindowIconifyEvent

Overview

Event triggered when a window is iconified (minimized) 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 maximized state.

Defined in:

espresso/events/window_iconify_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def iconified? : Bool #

Indicates whether the window is currently iconified (minimized). When true, the window was just iconified. When false, the window was just restored from being iconified.


[View source]
def minimized? : Bool #

Indicates whether the window is currently iconified (minimized). When true, the window was just iconified. When false, the window was just restored from being iconified.


[View source]
def restored? #

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


[View source]