#include <WidgetContainer.h>
Inheritance diagram for GUI::WidgetContainer:
Public Types | |
typedef WidgetBase * | WIDGET_PTR_T |
typedef std::list< WIDGET_PTR_T > | CHILDREN_T |
typedef CHILDREN_T::iterator | CHILDREN_ITOR_T |
Public Member Functions | |
WidgetContainer (const WindowHandle &h) | |
Construct a new WidgetContainer object. | |
void | addChild (WIDGET_PTR_T widget_ptr) |
Add a new child in the container. |
A WidgetContainer is-a widget that can contains widget
typedef CHILDREN_T::iterator GUI::WidgetContainer::CHILDREN_ITOR_T |
iterator for container of pointer to widget
typedef std::list< WIDGET_PTR_T > GUI::WidgetContainer::CHILDREN_T |
container of pointer to widget
pointer to widget
GUI::WidgetContainer::WidgetContainer | ( | const WindowHandle & | h | ) |
void GUI::WidgetContainer::addChild | ( | WIDGET_PTR_T | widget_ptr | ) |
Add a new child in the container.
widget_ptr | pointer to the child widget |