wxShowEvent Class Reference
[Events]

#include <wx/event.h>

Inheritance diagram for wxShowEvent:

wxEvent wxObject

List of all members.


Detailed Description

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

Currently only wxMSW, wxGTK and wxOS2 generate such events.

Availability:  only available for the wxMSW, wxGTK, wxOS2 ports.

Events:

The following event handler macros redirect the events to member function handlers 'func' with prototypes like:

void handlerFuncName(wxShowEvent& event)
Event macros:
Library:  wxCore

Category:  Events

See also:
Event Handling, wxWindow::Show, wxWindow::IsShown

Public Member Functions

 wxShowEvent (int winid=0, bool show=false)
void SetShow (bool show)
bool IsShown () const
bool GetShow () const

Constructor & Destructor Documentation

wxShowEvent::wxShowEvent ( int  winid = 0,
bool  show = false 
)

Constructor.


Member Function Documentation

void wxShowEvent::SetShow ( bool  show  ) 

Set whether the windows was shown or hidden.

bool wxShowEvent::IsShown (  )  const

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

bool wxShowEvent::GetShow (  )  const

Deprecated:
This function is deprecated in favour of IsShown().



wxWidgets logo

[ top ]