An event being sent when the window is shown or hidden.
The event is triggered by calls to wx.Window.Show
, and any user action showing a previously hidden window or vice versa (if allowed by the current platform and/or window manager). Notice that the event is not triggered when the application is iconized (minimized) or restored under wxMSW.
Handlers bound for the following event types will receive a wx.ShowEvent parameter.
EVT_SHOW: Process a wxEVT_SHOW
event.
Availability
Only available for MSW, GTK, OS2.
See also
Events and Event Handling, wx.Window.Show
, wx.Window.IsShown
Constructor. |
|
Return |
|
Set whether the windows was shown or hidden. |
Possible constructors:
ShowEvent(winid=0, show=False)
An event being sent when the window is shown or hidden.
Constructor.
winid (int) –
show (bool) –
Return True
if the window has been shown, False
if it has been hidden.
bool
Set whether the windows was shown or hidden.
show (bool) –