#include <manager.h>
Inherited by wxIFMDefaultChildData.
Inheritance diagram for wxIFMChildDataBase:
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 |
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.
|
Definition at line 915 of file manager.cpp. References IFM_NO_MAXIMUM_SIZE, and IFM_NO_MINIMUM_SIZE. |
|
Definition at line 925 of file manager.cpp. |
|
Definition at line 938 of file manager.cpp. |
|
Definition at line 950 of file manager.cpp. |
|
Child window to add.
Definition at line 504 of file manager.h. Referenced by wxInterfaceManager::AddChild(), MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
Initial size of the child.
Definition at line 501 of file manager.h. Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
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(). |
|
Child visibility state.
Definition at line 505 of file manager.h. Referenced by wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
If the child can be hidden.
Definition at line 506 of file manager.h. Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
Maximal tolerable size.
Definition at line 503 of file manager.h. Referenced by wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
Minimal tolerable size.
Definition at line 502 of file manager.h. Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
name of the child window
Definition at line 512 of file manager.h. Referenced by MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
Type of child window (generic, toolbar, ...).
Definition at line 500 of file manager.h. Referenced by wxInterfaceManager::AddChild(), MainFrm::CreateGUIControls(), and wxIFMDefaultInterfacePlugin::OnAddChild(). |