MatOCAD Logo

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

wxIFMChildDataBase Class Reference

#include <manager.h>

Inherited by wxIFMDefaultChildData.

Inheritance diagram for wxIFMChildDataBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 wxIFMChildDataBase ()
 wxIFMChildDataBase (wxWindow *child, int type, const wxString &name=IFM_DEFAULT_COMPONENT_NAME, wxSize size=IFM_DEFAULT_SIZE, bool hidden=false, wxSize minSize=IFM_NO_MINIMUM_SIZE, wxSize maxSize=IFM_NO_MAXIMUM_SIZE)
 wxIFMChildDataBase (const wxIFMChildDataBase &data)
virtual ~wxIFMChildDataBase ()

Public Attributes

int m_type
 Type of child window (generic, toolbar, ...).
wxSize m_desiredSize
 Initial size of the child.
wxSize m_minSize
 Minimal tolerable size.
wxSize m_maxSize
 Maximal tolerable size.
wxWindow * m_child
 Child window to add.
bool m_hidden
 Child visibility state.
bool m_hideable
 If the child can be hidden.
bool m_fixed
 This child window cannot be resized. If this is true, the values of minSize and maxSize will be ignored, minSize and maxSize will be set to m_desiredSize, and the component will always be the size specified in m_desiredSize.
wxString m_name
 name of the child window

Detailed Description

This class provides data storage for arguments required by the wxInterfaceManager::AddChild function.

If an interface plugin requires specific data for the AddChild event, derive a new class from this one and add your data there. Then cast the return value of AddChildEvent::GetChildData to your class using wxStaticCast to provide for type safety.

Definition at line 493 of file manager.h.


Constructor & Destructor Documentation

wxIFMChildDataBase::wxIFMChildDataBase  ) 
 

Definition at line 915 of file manager.cpp.

References IFM_NO_MAXIMUM_SIZE, and IFM_NO_MINIMUM_SIZE.

wxIFMChildDataBase::wxIFMChildDataBase wxWindow *  child,
int  type,
const wxString &  name = IFM_DEFAULT_COMPONENT_NAME,
wxSize  size = IFM_DEFAULT_SIZE,
bool  hidden = false,
wxSize  minSize = IFM_NO_MINIMUM_SIZE,
wxSize  maxSize = IFM_NO_MAXIMUM_SIZE
 

Definition at line 925 of file manager.cpp.

wxIFMChildDataBase::wxIFMChildDataBase const wxIFMChildDataBase data  ) 
 

Definition at line 938 of file manager.cpp.

wxIFMChildDataBase::~wxIFMChildDataBase  )  [virtual]
 

Definition at line 950 of file manager.cpp.


Member Data Documentation

wxWindow* wxIFMChildDataBase::m_child
 

Child window to add.

Definition at line 504 of file manager.h.

Referenced by wxInterfaceManager::AddChild(), MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild().

wxSize wxIFMChildDataBase::m_desiredSize
 

Initial size of the child.

Definition at line 501 of file manager.h.

Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild().

bool wxIFMChildDataBase::m_fixed
 

This child window cannot be resized. If this is true, the values of minSize and maxSize will be ignored, minSize and maxSize will be set to m_desiredSize, and the component will always be the size specified in m_desiredSize.

Definition at line 507 of file manager.h.

Referenced by wxIFMDefaultInterfacePlugin::OnAddChild().

bool wxIFMChildDataBase::m_hidden
 

Child visibility state.

Definition at line 505 of file manager.h.

Referenced by wxIFMDefaultInterfacePlugin::OnAddChild().

bool wxIFMChildDataBase::m_hideable
 

If the child can be hidden.

Definition at line 506 of file manager.h.

Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild().

wxSize wxIFMChildDataBase::m_maxSize
 

Maximal tolerable size.

Definition at line 503 of file manager.h.

Referenced by wxIFMDefaultInterfacePlugin::OnAddChild().

wxSize wxIFMChildDataBase::m_minSize
 

Minimal tolerable size.

Definition at line 502 of file manager.h.

Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild().

wxString wxIFMChildDataBase::m_name
 

name of the child window

Definition at line 512 of file manager.h.

Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild().

int wxIFMChildDataBase::m_type
 

Type of child window (generic, toolbar, ...).

Definition at line 500 of file manager.h.

Referenced by wxInterfaceManager::AddChild(), MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild().


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

 

SourceForge Logo