NCurses::MouseEvent
Inherits Struct < Value < Object
Returned by #get_mouse after Key::Mouse has been returned
Constructors
new(device_id : Int16, coordinates : NamedTuple(y: Int32, x: Int32, z: Int32), state : LibNCurses::Mouse)
SourceInstance methods
coordinates
Sourcedevice_id
Sourcenon_relative(window : Window) : MouseEvent
Returns a new MouseEvent with full-screen relative coordinates
The opposite of #relative
Wrapper for wmouse_trafo()
relative(window : Window) : MouseEvent
Returns a new MouseEvent with window-relative coordinates
Wrapper for wmouse_trafo()
state
Source