A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.MouseCaptureChangedEvent.html below:

wx.MouseCaptureChangedEvent — wxPython Phoenix 4.2.4a1 documentation

wx.MouseCaptureChangedEvent¶

A 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.

Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.MouseCaptureChangedEvent parameter.

Availability

Only available for MSW.

Class Hierarchy¶

Inheritance diagram for class

MouseCaptureChangedEvent

:

Methods Summary¶

__init__

Constructor.

GetCapturedWindow

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

Properties Summary¶ Class API¶
class wx.MouseCaptureChangedEvent(Event)¶

Possible constructors:

MouseCaptureChangedEvent(windowId=0, gainedCapture=None) -> None

A mouse capture changed event is sent to a window that loses its mouse capture.


Methods¶
__init__(self, windowId=0, gainedCapture=None)¶

Constructor.

Parameters:
  • windowId (wx.WindowID)

  • gainedCapture (wx.Window)

Return type:

None


GetCapturedWindow(self)¶

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

Return type:

wx.Window


Properties¶
CapturedWindow¶

See GetCapturedWindow


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4