WindowEvent

    DisplayServer.swift:394
    enum WindowEvent

    Cases

    • case mouseEnter

      Sent when the mouse pointer enters the window.

    • case mouseExit

      Sent when the mouse pointer exits the window.

    • case focusIn

      Sent when the window grabs focus.

    • case focusOut

      Sent when the window loses focus.

    • case closeRequest

      Sent when the user has attempted to close the window (e.g. close button is pressed).

    • case goBackRequest

      Sent when the device “Back” button is pressed.

    • case dpiChange

      Sent when the window is moved to the display with different DPI, or display DPI is changed.

    • case titlebarChange

      Sent when the window title bar decoration is changed (e.g. .windowFlagExtendToTitle is set or window entered/exited full screen mode).

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (201) members.

    Types

    Type members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features