A walker for a gui2::tcontrol. More...
#include <walker_widget.hpp>
Public Member Functions | |
twidget (gui2::twidget &widget) | |
Constructor. More... | |
virtual tstate | next (const tlevel level) |
Inherited from gui2::iterator::twalker_. More... | |
virtual bool | at_end (const tlevel level) const |
Inherited from gui2::iterator::twalker_. More... | |
virtual gui2::twidget * | get (const tlevel level) |
Inherited from gui2::iterator::twalker_. More... | |
Public Member Functions inherited from gui2::iterator::twalker_ | |
virtual | ~twalker_ () |
Private Attributes | |
gui2::twidget * | widget_ |
The control which the walker is attached to. More... | |
Additional Inherited Members | |
Public Types inherited from gui2::iterator::twalker_ | |
enum | tlevel { widget, grid, child } |
The level to walk at. More... | |
enum | tstate { valid, invalid, fail } |
The state of the walker. More... | |
A walker for a gui2::tcontrol.
Definition at line 30 of file walker_widget.hpp.
|
explicit |
Constructor.
widget | The control which the walker is attached to. |
Definition at line 31 of file walker_widget.cpp.
|
virtual |
Inherited from gui2::iterator::twalker_.
Implements gui2::iterator::twalker_.
Definition at line 58 of file walker_widget.cpp.
References gui2::iterator::twalker_::child, gui2::iterator::twalker_::grid, gui2::iterator::twalker_::widget, and widget_.
Referenced by next().
|
virtual |
Inherited from gui2::iterator::twalker_.
Implements gui2::iterator::twalker_.
Definition at line 72 of file walker_widget.cpp.
References gui2::iterator::twalker_::child, gui2::iterator::twalker_::grid, gui2::iterator::twalker_::widget, and widget_.
|
virtual |
Inherited from gui2::iterator::twalker_.
Implements gui2::iterator::twalker_.
Definition at line 35 of file walker_widget.cpp.
References at_end(), gui2::iterator::twalker_::child, gui2::iterator::twalker_::fail, gui2::iterator::twalker_::grid, gui2::iterator::twalker_::invalid, gui2::iterator::twalker_::widget, and widget_.
|
private |
The control which the walker is attached to.
Definition at line 51 of file walker_widget.hpp.