MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxIFMShowChildEvent Class Reference

Used to hide or show child windows managed by the interface. More...

#include <events.h>

Inherits wxIFMChildEvent.

Inheritance diagram for wxIFMShowChildEvent:

Inheritance graph
Collaboration diagram for wxIFMShowChildEvent:

Collaboration graph
List of all members.

Public Member Functions

 wxIFMShowChildEvent (wxWindow *child, bool show, bool update)
 wxIFMShowChildEvent (const wxIFMShowChildEvent &event)
virtual wxEvent * Clone () const
bool GetShow () const
bool GetUpdate () const
void SetUpdate (bool update)

Protected Attributes

bool m_show
 Show or hide the child.
bool m_update
 Update the interface?

Detailed Description

Used to hide or show child windows managed by the interface.

The default implementation for this event will find the component that contains this child, and send that component a wxIFMShowComponentEvent in order to hide it.

You should use wxIFMShowComponentEvent to hide child windows instead of processing this event, unless the default wxIFMShowComponentEvent functionality is not adequet for your needs. Even if you do require more advanced functionality, there will be instances where your component is sent wxIFMShowComponentEvent to hide or show it, and you must properly hide or show your child window in this event.

See also:
wxIFMAddChildEvent, wxIFMSetChildEvent, wxIFMShowComponentEvent

Definition at line 1149 of file events.h.

Constructor & Destructor Documentation

wxIFMShowChildEvent::wxIFMShowChildEvent wxWindow *  child,
bool  show,
bool  update

Definition at line 1157 of file events.h.

Referenced by Clone().

wxIFMShowChildEvent::wxIFMShowChildEvent const wxIFMShowChildEvent event  )  [inline]

Definition at line 1163 of file events.h.

Member Function Documentation

virtual wxEvent* wxIFMShowChildEvent::Clone  )  const [inline, virtual]

Reimplemented from wxIFMChildEvent.

Definition at line 1169 of file events.h.

References wxIFMShowChildEvent().

bool wxIFMShowChildEvent::GetShow  )  const [inline]

True if the child is being shown, false if beind hidden

Definition at line 1174 of file events.h.

References m_show.

Referenced by wxIFMDefaultPlugin::OnShowChild().

bool wxIFMShowChildEvent::GetUpdate  )  const [inline]

True if the interface should be updated, false if not

Definition at line 1179 of file events.h.

References m_update.

Referenced by wxIFMDefaultPlugin::OnShowChild().

void wxIFMShowChildEvent::SetUpdate bool  update  )  [inline]

Definition at line 1180 of file events.h.

References m_update.

Member Data Documentation

bool wxIFMShowChildEvent::m_show [protected]

Show or hide the child.

Definition at line 1152 of file events.h.

Referenced by GetShow().

bool wxIFMShowChildEvent::m_update [protected]

Update the interface?

Definition at line 1153 of file events.h.

Referenced by GetUpdate(), and SetUpdate().

The documentation for this class was generated from the following file:


SourceForge Logo