Class: Curses::MouseEvent

Inherits:
Object
  • Object
show all
Defined in:
curses.c

Overview

Description

Curses::MouseEvent

Example

  • mouse.rb

    :include: mouse.rb
    

Instance Method Summary collapse

Instance Method Details

#bstateObject

Returns the current mouse's button state. Use this with the button state constants to determine which buttons were pressed.

#eidObject

Returns the current mouse id

#xObject

Returns the current mouse's X coordinate

#yObject

Returns the current mouse's Y coordinate

#zObject

Returns the current mouse's Z coordinate