wx.MouseCaptureChangedEvent

Inheritance diagram for wx.MouseCaptureChangedEvent:



Description

An mouse capture changed event is sent to a window that loses its mouse capture. This is called even if wx.Window.ReleaseMouse was called by the application code. Handling this event allows an application to cater for unexpected capture releases which might otherwise confuse mouse handling code.

This event is implemented under Windows only.

Derived From

Event Handling

Event Name Description
wx.EVT_MOUSE_CAPTURE_CHANGED(func) Process a wx.wxEVT_MOUSE_CAPTURE_CHANGED event.

Methods Summary

Properties Summary

Class API

Methods

__init__(winid=0, gainedCapture=None)

Constructor.

Parameters:


Returns:

wx.MouseCaptureChangedEvent


GetCapturedWindow()

Returns the window that gained the capture, or None if it was a non-wxWidgets window.


Returns:

wx.Window


Properties

CapturedWindow
See GetCapturedWindow