aboutsummaryrefslogtreecommitdiff
path: root/include/gui/List.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-11 01:49:10 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-11 01:49:10 +0200
commit234cc3391eba6be67964e5c98beeecd318b8e779 (patch)
tree32bc82687245ebb5d43faf8b6e116883535a9688 /include/gui/List.hpp
parent8746e8e43c9c47454ca7a115969cd07746fd832e (diff)
Load settings from config file
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