Class: Wx::MouseCaptureLostEvent
- Defined in:
- lib/wx/doc/gen/events.rb
Overview
A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequently lost due to an “external” event (for example, when a dialog box is shown or if another application captures the mouse).
If this happens, this event is sent to all windows that are on the capture stack (i.e. called CaptureMouse, but didn’t call ReleaseMouse yet). The event is not sent if the capture changes because of a call to CaptureMouse or ReleaseMouse. This event is currently emitted under Windows only.
Events using this class
The following event-handler methods redirect the events to member method or handler blocks for MouseCaptureLostEvent events. Event handler methods:
-
EvtHandler#evt_mouse_capture_lost(meth = nil, &block): Process a EVT_MOUSE_CAPTURE_LOST event.
Availability: only available for the WXMSW port.
Category: Events
Instance Method Summary collapse
-
#initialize(windowId = 0) ⇒ Wx::MouseCaptureLostEvent
constructor
Constructor.
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(windowId = 0) ⇒ Wx::MouseCaptureLostEvent
Constructor.
2359 |
# File 'lib/wx/doc/gen/events.rb', line 2359 def initialize(windowId=0) end |