Class: Gdk::ButtonEvent

Inherits:
Event
  • Object
show all
Defined in:
(unknown)

Overview

An event related to a button on a pointer device.

Constant Summary

Constants inherited from Event

Event::PROPAGATE, Event::STOP

Instance Method Summary collapse

Methods inherited from Event

#_get_angle, #_get_center, #_get_distance, #device, #device_tool, #display, #event_sequence, #event_type, #get_axes, #get_axis, #get_history, #get_position, #modifier_state, #pointer_emulated, #ref, #seat, #send_event?, #surface, #time, #triggers_context_menu, #unref

Instance Method Details

#buttonInteger

Extract the button number from a button event.

Returns:

  • (Integer)

    the button of event