Package wx :: Class MouseCaptureChangedEvent
[frames | no frames]

Type MouseCaptureChangedEvent

object --+        
         |        
    Object --+    
             |    
         Event --+
                 |
                MouseCaptureChangedEvent


An mouse capture changed event (EVT_MOUSE_CAPTURE_CHANGED) 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.


Method Summary
MouseCaptureChangedEvent __init__(self, winid, gainedCapture)
Constructor
  __repr__(self)
Window GetCapturedWindow(self)
Returns the window that gained the capture, or None if it was a non-wxWidgets window.

Method Details

__init__(self, winid=0, gainedCapture=None)
(Constructor)

Constructor

Parameters:
winid
           (type=int)

gainedCapture
           (type=Window)

Returns:
MouseCaptureChangedEvent
Overrides:
wx.Event.__init__

GetCapturedWindow(self)

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

Returns:
Window

Generated by Epydoc 2.1.20050511.rpd on Sun Mar 26 10:00:21 2006 http://epydoc.sf.net