Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxMouseCaptureChangedEvent (3erl)

Name

wxMouseCaptureChangedEvent - Functions for wxMouseCaptureChangedEvent class

Synopsis

Please see following description for synopsis

Description

Erlang Module Definition                         wxMouseCaptureChangedEvent(3)



NAME
       wxMouseCaptureChangedEvent  -  Functions for wxMouseCaptureChangedEvent
       class

DESCRIPTION
       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 sub-
       scribe 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.



wxWidgets team.                    wx 2.1.1
                                                 wxMouseCaptureChangedEvent(3)