1wxActivateEvent(3) Erlang Module Definition wxActivateEvent(3)
2
3
4
6 wxActivateEvent - Functions for wxActivateEvent class
7
9 An activate event is sent when a window or application is being acti‐
10 vated or deactivated.
11
12 Note: Until wxWidgets 3.1.0 activation events could be sent by wxMSW
13 when the window was minimized. This reflected the native MSW behaviour
14 but was often surprising and unexpected, so starting from 3.1.0 such
15 events are not sent any more when the window is in the minimized state.
16
17 See: Overview events, wxApp::IsActive (not implemented in wx)
18
19 This class is derived (and can use functions) from: wxEvent
20
21 wxWidgets docs: wxActivateEvent
22
24 Use wxEvtHandler:connect/3 with wxActivateEventType to subscribe to
25 events of this type.
26
28 wxActivateEvent() = wx:wx_object()
29
30 wxActivate() =
31 #wxActivate{type = wxActivateEvent:wxActivateEventType(),
32 active = boolean()}
33
34 wxActivateEventType() = activate | activate_app | hibernate
35
37 getActive(This) -> boolean()
38
39 Types:
40
41 This = wxActivateEvent()
42
43 Returns true if the application or window is being activated,
44 false otherwise.
45
46
47
48wxWidgets team. wx 2.2.1 wxActivateEvent(3)