aboutsummaryrefslogtreecommitdiff
path: root/include/gui/List.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui/List.hpp')
-rw-r--r--include/gui/List.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/List.hpp b/include/gui/List.hpp
index 55a5b84..72c5353 100644
--- a/include/gui/List.hpp
+++ b/include/gui/List.hpp
@@ -29,6 +29,7 @@ namespace gsr {
void add_widget(std::unique_ptr<Widget> widget);
void remove_widget(Widget *widget);
+ void clear();
// Return true from |callback| to continue
void for_each_child_widget(std::function<bool(std::unique_ptr<Widget> &widget)> callback);
// Returns nullptr if index is invalid