Skip to content
FutureBlitz

    Install

    Import std.term.input

    MouseEvent

    std.term.input

    struct

    Public Struct MouseEvent Implements Hashable, Printable

    What the mouse did, with which Button, at a Column and Row from 0, with the Modifiers held.

    std/term/input.fb, line 189

    • Public ReadOnly Field Action: MouseAction field #

      What the mouse did.

    • Public ReadOnly Field Button: MouseButton field #

      Which button it did it with.

    • Public ReadOnly Field Column: Int field #

      The column it was at, from 0.

    • Public ReadOnly Field Row: Int field #

      The row it was at, from 0.

    • Public ReadOnly Field Modifiers: KeyModifiers field #

      The modifiers held.

    • Public New(action: MouseAction, button: MouseButton, column: Int, row: Int, modifiers: KeyModifiers = KeyModifiers.NONE) constructor #

      A MouseEvent of action with button at column and row, with modifiers held.

    • Public Method ToString(): String method #

      Like "PRESS LEFT at 3, 4", or "Ctrl+SCROLL_UP at 0, 0".

    Report an issue with this page or with FutureBlitz on GitHub.