A walker for a gui2::styled_widget. More...
#include <walker_widget.hpp>
Public Member Functions | |
widget (gui2::widget &widget) | |
Constructor. More... | |
virtual state_t | next (const level level) |
Inherited from gui2::iteration::walker_base. More... | |
virtual bool | at_end (const level level) const |
Inherited from gui2::iteration::walker_base. More... | |
virtual gui2::widget * | get (const level level) |
Inherited from gui2::iteration::walker_base. More... | |
Public Member Functions inherited from gui2::iteration::walker_base | |
virtual | ~walker_base () |
Private Attributes | |
gui2::widget * | widget_ |
The styled_widget which the walker is attached to. More... | |
Additional Inherited Members | |
Public Types inherited from gui2::iteration::walker_base | |
enum | level { self , internal , child } |
The level to walk at. More... | |
enum | state_t { valid , invalid , fail } |
The state of the walker. More... | |
A walker for a gui2::styled_widget.
Definition at line 24 of file walker_widget.hpp.
|
explicit |
Constructor.
widget | The styled_widget which the walker is attached to. |
Definition at line 27 of file walker_widget.cpp.
|
virtual |
Inherited from gui2::iteration::walker_base.
Implements gui2::iteration::walker_base.
Definition at line 53 of file walker_widget.cpp.
References gui2::iteration::walker_base::child, and widget_.
Referenced by next().
|
virtual |
Inherited from gui2::iteration::walker_base.
Implements gui2::iteration::walker_base.
Definition at line 67 of file walker_widget.cpp.
References gui2::iteration::walker_base::child, and widget_.
|
virtual |
Inherited from gui2::iteration::walker_base.
Implements gui2::iteration::walker_base.
Definition at line 31 of file walker_widget.cpp.
References at_end(), gui2::iteration::walker_base::child, gui2::iteration::walker_base::fail, gui2::iteration::walker_base::invalid, and widget_.
|
private |
The styled_widget which the walker is attached to.
Definition at line 45 of file walker_widget.hpp.