Class: Wx::LongPressEvent
- Inherits:
-
GestureEvent
- Object
- Object
- Event
- GestureEvent
- Wx::LongPressEvent
- Defined in:
- lib/wx/doc/gen/events.rb
Overview
This event is generated when one finger touches the surface and remains stationary.
Note that currently it is only generated under WXGTK and WXOSX. WXGTK also generates this event when left mouse button is being pressed for some minimum duration of time.
Events using this class
The following event-handler methods redirect the events to member method or handler blocks for LongPressEvent events. Event handler methods:
-
EvtHandler#evt_long_press(id, meth = nil, &block): Process a EVT_LONG_PRESS.
Category: Events
Instance Method Summary collapse
-
#initialize(windid = 0) ⇒ Wx::LongPressEvent
constructor
Constructor.
Methods inherited from GestureEvent
#get_position, #is_gesture_end, #is_gesture_start, #set_gesture_end, #set_gesture_start, #set_position
Methods inherited from Event
#clone, #get_event_category, #get_event_object, #get_event_type, #get_id, #get_skipped, #get_timestamp, #is_command_event, #resume_propagation, #set_event_object, #set_event_type, #set_id, #set_timestamp, #should_propagate, #skip, #stop_propagation
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize(windid = 0) ⇒ Wx::LongPressEvent
Constructor.
1027 |
# File 'lib/wx/doc/gen/events.rb', line 1027 def initialize(windid=0) end |