wx.MouseCaptureLostEvent

Inheritance diagram for wx.MouseCaptureLostEvent:



Description

An mouse capture lost event is sent to a window that obtained mouse capture, which was subsequently loss due to “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 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.

Derived From

Event Handling

Event Name Description
wx.EVT_MOUSE_CAPTURE_LOST(func) Process a wx.wxEVT_MOUSE_CAPTURE_LOST event.

Methods Summary

Class API

Methods

__init__(winid=0)

Constructor.

Parameters:

  • winid (int)

Returns:

wx.MouseCaptureLostEvent