Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxChildFocusEvent (3erl)

Name

wxChildFocusEvent - Functions for wxChildFocusEvent class

Synopsis

Please see following description for synopsis

Description

wxChildFocusEvent(3)       Erlang Module Definition       wxChildFocusEvent(3)



NAME
       wxChildFocusEvent - Functions for wxChildFocusEvent class

DESCRIPTION
       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.

       Notice  that  child  window is the direct child of the window receiving
       event. Use wxWindow:findFocus/0 to retrieve the window which  is  actu-
       ally getting focus.

       See: Overview events

       This  class  is  derived  (and  can use functions) from: wxCommandEvent
       wxEvent

       wxWidgets docs: wxChildFocusEvent

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

DATA TYPES
       wxChildFocusEvent() = wx:wx_object()

       wxChildFocus() =
           #wxChildFocus{type =
                             wxChildFocusEvent:wxChildFocusEventType()}

       wxChildFocusEventType() = child_focus

EXPORTS
       getWindow(This) -> wxWindow:wxWindow()

              Types:

                 This = wxChildFocusEvent()

              Returns  the  direct  child  which  receives  the  focus,  or  a
              (grand-)parent of the control receiving the focus.

              To get the actually focused control use wxWindow:findFocus/0.



wxWidgets team.                    wx 2.1.1               wxChildFocusEvent(3)