struct TUI::Event::Mouse

Defined in:

tui/event/mouse.cr

Constructors

Instance Method Summary

Instance methods inherited from struct TUI::Event

time time

Constructor methods inherited from struct TUI::Event

new new

Constructor Detail

def self.new(mouse : TUI::MouseStatus | Nil, position : Tuple(Int32, Int32) | Nil) #

[View source]
def self.new(position : Tuple(Int32, Int32) | Nil) #

[View source]
def self.new #

[View source]

Instance Method Detail

def mouse : TUI::MouseStatus #

[View source]
def mouse? : TUI::MouseStatus | Nil #

[View source]
def position : Tuple(Int32, Int32) #

[View source]
def position? : Tuple(Int32, Int32) | Nil #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]