enum Godot::DisplayServer::WindowEvent

Defined in:

libgodot/generated/classes/classes_part2.cr

Enum Members

WindowEventMouseEnter = 0_i64
WindowEventMouseExit = 1_i64
WindowEventFocusIn = 2_i64
WindowEventFocusOut = 3_i64
WindowEventCloseRequest = 4_i64
WindowEventGoBackRequest = 5_i64
WindowEventDpiChange = 6_i64
WindowEventTitlebarChange = 7_i64
WindowEventForceClose = 8_i64
WindowEventOutputMaxLinearValueChanged = 9_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def window_event_close_request? #

Returns true if this enum value equals WindowEventCloseRequest


def window_event_dpi_change? #

Returns true if this enum value equals WindowEventDpiChange


def window_event_focus_in? #

Returns true if this enum value equals WindowEventFocusIn


def window_event_focus_out? #

Returns true if this enum value equals WindowEventFocusOut


def window_event_force_close? #

Returns true if this enum value equals WindowEventForceClose


def window_event_go_back_request? #

Returns true if this enum value equals WindowEventGoBackRequest


def window_event_mouse_enter? #

Returns true if this enum value equals WindowEventMouseEnter


def window_event_mouse_exit? #

Returns true if this enum value equals WindowEventMouseExit


def window_event_output_max_linear_value_changed? #

Returns true if this enum value equals WindowEventOutputMaxLinearValueChanged


def window_event_titlebar_change? #

Returns true if this enum value equals WindowEventTitlebarChange