16 #define GETTEXT_DOMAIN "wesnoth-lib"
A walker for a gui2::grid.
gui2::widget * widget_
The grid which the walker is attached to.
grid(gui2::grid &grid)
Constructor.
virtual gui2::widget * get(const level level)
Inherited from gui2::iteration::walker_base.
virtual bool at_end(const level level) const
Inherited from gui2::iteration::walker_base.
virtual state_t next(const level level)
Inherited from gui2::iteration::walker_base.
gui2::grid & grid_
The grid which the walker is attached to.
gui2::grid::iterator itor_
The iterator to the children of grid_.
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.