16 #define GETTEXT_DOMAIN "wesnoth-lib" 26 : children_(children), widget_(&node), itor_(children.begin())
83 return itor_.operator->()->get();
When calling next the following it has the following results.
std::vector< std::shared_ptr< tree_view_node > > node_children_vector
When calling next the following it has the following results.
virtual bool at_end(const level level) const
Inherited from gui2::iteration::walker_base.
level
The level to walk at.
virtual gui2::widget * get(const level level)
Inherited from gui2::iteration::walker_base.
tree_node(gui2::tree_view_node &node, tree_view_node::node_children_vector &children)
Constructor.
gui2::widget * widget_
The node which the walker is attached to.
state_t
The state of the walker.
virtual state_t next(const level level)
Inherited from gui2::iteration::walker_base.
tree_view_node::node_children_vector & children_
The children of the node which the walker is attached to.
Visit the children of its nested grid.
tree_view_node::node_children_vector::iterator itor_
The iterator to the children of the node.