16 #define GETTEXT_DOMAIN "wesnoth-lib"
A generic container base class.
const grid & get_grid() const
A walker for a gui2::container_base.
container(gui2::container_base &container)
Constructor.
gui2::grid::iterator itor_
The iterator to the children of container_.
virtual bool at_end(const level level) const
Inherited from gui2::iteration::walker_base.
gui2::container_base & container_
The container which the walker is attached to.
virtual gui2::widget * get(const level level)
Inherited from gui2::iteration::walker_base.
gui2::widget * widget_
The widget which the walker is attached to.
virtual state_t next(const level level)
Inherited from gui2::iteration::walker_base.
bool entered_grid
Whether the grid has been yielded.
level
The level to walk at.
@ child
Visit the children of its nested grid.
state_t
The state of the walker.
@ invalid
When calling next the following it has the following results.
@ valid
When calling next the following it has the following results.