Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxActivateEvent (3erl)

Name

wxActivateEvent - Functions for wxActivateEvent class

Synopsis

Please see following description for synopsis

Description

wxActivateEvent(3)         Erlang Module Definition         wxActivateEvent(3)



NAME
       wxActivateEvent - Functions for wxActivateEvent class

DESCRIPTION
       An  activate  event is sent when a window or application is being acti-
       vated or deactivated.

       Note: Until wxWidgets 3.1.0 activation events could be  sent  by  wxMSW
       when  the window was minimized. This reflected the native MSW behaviour
       but was often surprising and unexpected, so starting  from  3.1.0  such
       events are not sent any more when the window is in the minimized state.

       See: Overview events, wxApp::IsActive (not implemented in wx)

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

       wxWidgets docs: wxActivateEvent

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

DATA TYPES
       wxActivateEvent() = wx:wx_object()

       wxActivate() =
           #wxActivate{type = wxActivateEvent:wxActivateEventType(),
                       active = boolean()}

       wxActivateEventType() = activate | activate_app | hibernate

EXPORTS
       getActive(This) -> boolean()

              Types:

                 This = wxActivateEvent()

              Returns true if the application or window  is  being  activated,
              false otherwise.



wxWidgets team.                    wx 2.1.1                 wxActivateEvent(3)