1wxChildFocusEvent(3) Erlang Module Definition wxChildFocusEvent(3)
2
3
4
6 wxChildFocusEvent - Functions for wxChildFocusEvent class
7
9 A child focus event is sent to a (parent-)window when one of its child
10 windows gains focus, so that the window could restore the focus back to
11 its corresponding child if it loses it now and regains later.
12
13 Notice that child window is the direct child of the window receiving
14 event. Use wxWindow:findFocus/0 to retrieve the window which is actu‐
15 ally getting focus.
16
17 See: Overview events
18
19 This class is derived (and can use functions) from: wxCommandEvent wx‐
20 Event
21
22 wxWidgets docs: wxChildFocusEvent
23
25 Use wxEvtHandler:connect/3 with wxChildFocusEventType to subscribe to
26 events of this type.
27
29 wxChildFocusEvent() = wx:wx_object()
30
31 wxChildFocus() =
32 #wxChildFocus{type =
33 wxChildFocusEvent:wxChildFocusEventType()}
34
35 wxChildFocusEventType() = child_focus
36
38 getWindow(This) -> wxWindow:wxWindow()
39
40 Types:
41
42 This = wxChildFocusEvent()
43
44 Returns the direct child which receives the focus, or a
45 (grand-)parent of the control receiving the focus.
46
47 To get the actually focused control use wxWindow:findFocus/0.
48
49
50
51wxWidgets team. wx 2.1.4 wxChildFocusEvent(3)