wx.ShowEvent¶
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.
Events Emitted by this Class¶
Handlers bound for the following event types will receive a wx.ShowEvent parameter.
EVT_SHOW: Process a
wxEVT_SHOW
event.
See also
Events and Event Handling, wx.Window.Show
, wx.Window.IsShown
Class Hierarchy¶
Methods Summary¶
Constructor. |
|
Return |
|
Set whether the windows was shown or hidden. |
Properties Summary¶
Class API¶
- class wx.ShowEvent(Event)¶
Possible constructors:
ShowEvent(winid=0, show=False) -> None
An event being sent when the window is shown or hidden.
Methods¶
- __init__(self, winid=0, show=False)¶
Constructor.
- Parameters:
winid (int)
show (bool)
- Return type:
None
- IsShown(self)¶
Return
True
if the window has been shown,False
if it has been hidden.- Return type:
bool
- SetShow(self, show)¶
Set whether the windows was shown or hidden.
- Parameters:
show (bool)
- Return type:
None
Properties¶