Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
CRT::Ansi::Mouse
Inherits
Struct
<
Value
<
Object
Constructors
new
(button :
Button
, action :
Action
, x :
Int32
, y :
Int32
, *, shift :
Bool
= false, alt :
Bool
= false, ctrl :
Bool
= false)
Source
Instance methods
==
(other :
Mouse
) :
Bool
Source
action
Source
alt?
Source
button
Source
ctrl?
Source
shift?
Source
to_s
(io :
IO
) :
Nil
Same as
#inspect(io)
.
Source
x
Source
y
Source
Nested types
CRT::Ansi::Mouse::Action
CRT::Ansi::Mouse::Button