View Source wxActivateEvent (wx v2.4.3)

An activate event is sent when a window or application is being activated or deactivated.

See: Overview events

This class is derived, and can use functions, from:

wxWidgets docs: wxActivateEvent

Events

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

Summary

Functions

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

Types

-type wxActivate() :: #wxActivate{type :: wxActivateEvent:wxActivateEventType(), active :: boolean()}.
-type wxActivateEvent() :: wx:wx_object().
-type wxActivateEventType() :: activate | activate_app | hibernate.

Functions

-spec getActive(This) -> boolean() when This :: wxActivateEvent().

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