#include <ui_element.h>
Interface to enumerate and possibly alter children of a container element. Obtained from ui_element::enumerate_children().
Definition at line 343 of file ui_element.h.
virtual bool ui_element_children_enumerator::can_set_count |
( |
| ) |
|
|
pure virtual |
Returns whether children count can be altered. For certain containers, children count is fixed and this method returns false.
virtual ui_element_config::ptr ui_element_children_enumerator::commit |
( |
| ) |
|
|
pure virtual |
virtual t_size ui_element_children_enumerator::get_count |
( |
| ) |
|
|
pure virtual |
Retrieves the container's children count.
virtual ui_element_config::ptr ui_element_children_enumerator::get_item |
( |
t_size |
p_index | ) |
|
|
pure virtual |
Retrieves the configuration of the child at specified index, 0 <= index < get_count().
virtual void ui_element_children_enumerator::set_count |
( |
t_size |
count | ) |
|
|
pure virtual |
Alters container's children count (behavior is undefined when can_set_count() returns false). Newly allocated children get default empty element configuration.
virtual void ui_element_children_enumerator::set_item |
( |
t_size |
p_index, |
|
|
ui_element_config::ptr |
cfg |
|
) |
| |
|
pure virtual |
Alters the selected item.
The documentation for this class was generated from the following file: