<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE erlref SYSTEM "erlref.dtd">

<!-- THIS FILE IS GENERATED DO NOT EDIT -->


<erlref>
<header>
  <copyright>
    <year>2020</year>
    <holder>wxWidgets team.</holder></copyright>
  <legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
  </legalnotice>
  <title>wxChildFocusEvent</title>
</header>
<module>wxChildFocusEvent</module>
<modulesummary>Functions for wxChildFocusEvent class</modulesummary>
<description><p>A child focus event is sent to a (parent-)window when one of its child windows gains focus, so that the window could restore the focus back to its corresponding child if it loses it now and regains later.
      </p><p>Notice that child window is the direct child of the window receiving event. Use <seemfa marker="wxWindow#findFocus/0"><c>wxWindow:findFocus/0</c></seemfa> to retrieve the window which is actually getting focus.
      </p><p>See: <url href="https://docs.wxwidgets.org/3.1/overview_events.html#overview_events">Overview events</url>
      </p>
  <p>This class is derived (and can use functions) from: 
    <seeerl marker="wxCommandEvent"><c>wxCommandEvent</c></seeerl> <seeerl marker="wxEvent"><c>wxEvent</c></seeerl></p>
  
  <p>wxWidgets docs: <url href="https://docs.wxwidgets.org/3.1/classwx_child_focus_event.html">wxChildFocusEvent</url></p>
  </description><section><title>Events</title><p>Use <seemfa marker="wxEvtHandler#connect/3"><c>wxEvtHandler:connect/3</c></seemfa> with <seetype marker="#wxChildFocusEventType"><c>wxChildFocusEventType</c></seetype> to subscribe to events of this type.</p></section>
<datatypes>
    <datatype><name name="wxChildFocusEvent"/></datatype>
    <datatype><name name="wxChildFocus"/></datatype>
    <datatype><name name="wxChildFocusEventType"/></datatype></datatypes>

<funcs>
  <func>
    <name name="getWindow" arity="1" clause_i="1" since=""/>
    <fsummary>Returns the direct child which receives the focus, or a (grand-)parent of the control receiving the focus. </fsummary>
    <desc><p>Returns the direct child which receives the focus, or a (grand-)parent of the control receiving the focus. 
      </p><p>To get the actually focused control use <seemfa marker="wxWindow#findFocus/0"><c>wxWindow:findFocus/0</c></seemfa>. 
      </p></desc>
  </func>
  </funcs>
</erlref>
