Inheritance diagram for wx.ChildFocusEvent:
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.
Note
Notice that child window is the direct child of the window receiving event. Use FindFocus to retreive the window which is actually getting focus.
Event Name | Description |
---|---|
wx.EVT_CHILD_FOCUS(func) | Process a wx.wxEVT_CHILD_FOCUS event. |
Constructor.
Parameters:
Returns:
The window, or (grand)parent of the window which has just received the focus.
Returns:
Note
To get the actually focused control use wx.Window.FindFocus