wxMouseCaptureChangedEvent(3erl)

wxMouseCaptureChangedEvent3erl

Functions for wxmousecapturechangedevent class

Overview

An mouse capture changed event is sent to a window that loses its mouse capture. This is called even if wxWindow:releaseMouse/1 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.

Only for:wxmsw

See: wxMouseCaptureLostEvent, Overview events, wxWindow:captureMouse/1, wxWindow:releaseMouse/1, wxWindow:getCapture/0

This class is derived (and can use functions) from: wxEvent

wxWidgets docs: wxMouseCaptureChangedEvent

Events

Use wxEvtHandler:connect/3 with wxMouseCaptureChangedEventType to subscribe to events of this type.

Data types

wxMouseCaptureChangedEvent() = wx:wx_object()
wxMouseCaptureChanged() = 
    #wxMouseCaptureChanged{type =
                               wxMouseCaptureChangedEvent:wxMouseCaptureChangedEventType()}
wxMouseCaptureChangedEventType() = mouse_capture_changed

Exports

getCapturedWindow(This) -> wxWindow:wxWindow()

Types:

This = wxMouseCaptureChangedEvent()

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

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12

From erlang-manpages 1:25.2.3+dfsg-1+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.