class Opal::TEA::MouseMsg

Overview

Dispatched when a mouse event occurs.

Defined in:

opal/tea/msg.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_event(event : Terminal::MouseEvent) : MouseMsg #

[View source]
def self.new(x : Int32, y : Int32, button : Terminal::MouseButton, action : Terminal::MouseAction) #

[View source]

Instance Method Detail

def action : Terminal::MouseAction #

[View source]
def button : Terminal::MouseButton #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]