Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxShowEvent (3erl)

Name

wxShowEvent - Functions for wxShowEvent class

Synopsis

Please see following description for synopsis

Description

wxShowEvent(3)             Erlang Module Definition             wxShowEvent(3)



NAME
       wxShowEvent - Functions for wxShowEvent class

DESCRIPTION
       An  event  being  sent when the window is shown or hidden. The event is
       triggered by calls to wxWindow:show/2, and any user  action  showing  a
       previously hidden window or vice versa (if allowed by the current plat-
       form and/or window manager). Notice that the  event  is  not  triggered
       when the application is iconized (minimized) or restored under wxMSW.

       See: Overview events, wxWindow:show/2, wxWindow:isShown/1

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

       wxWidgets docs: wxShowEvent

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

DATA TYPES
       wxShowEvent() = wx:wx_object()

       wxShow() =
           #wxShow{type = wxShowEvent:wxShowEventType(),
                   show = boolean()}

       wxShowEventType() = show

EXPORTS
       setShow(This, Show) -> ok

              Types:

                 This = wxShowEvent()
                 Show = boolean()

              Set whether the windows was shown or hidden.

       isShown(This) -> boolean()

              Types:

                 This = wxShowEvent()

              Return true if the window has been shown, false if it  has  been
              hidden.



wxWidgets team.                    wx 2.1.1                     wxShowEvent(3)