Table Of Contents

Previous topic

ShowEffect

Next topic

ShutdownFlags

This Page

phoenix_title ShowEvent

An event being sent when the window is shown or hidden.

The event is triggered by calls to 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 Events Emitted by this Class

Handlers bound for the following event types will receive a ShowEvent parameter.

  • EVT_SHOW: Process a wxEVT_SHOW event.

Availability

Only available for MSW, GTK, OS2.


class_hierarchy Inheritance Diagram

Inheritance diagram for class ShowEvent

Inheritance diagram of ShowEvent


method_summary Methods Summary

__init__ Constructor.
IsShown Return True if the window has been shown, False if it has been hidden.
SetShow Set whether the windows was shown or hidden.

property_summary Properties Summary

Show See IsShown and SetShow

api Class API



class ShowEvent(Event)

An event being sent when the window is shown or hidden.

Possible constructors:

ShowEvent(winid=0, show=False)

Methods



__init__(self, winid=0, show=False)

Constructor.

Parameters:
  • winid (int) –
  • show (bool) –


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) –

Properties



Show

See IsShown and SetShow