diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-11 01:49:10 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-11 01:49:10 +0200 |
commit | 234cc3391eba6be67964e5c98beeecd318b8e779 (patch) | |
tree | 32bc82687245ebb5d43faf8b6e116883535a9688 /include/gui/List.hpp | |
parent | 8746e8e43c9c47454ca7a115969cd07746fd832e (diff) |
Load settings from config file
Diffstat (limited to 'include/gui/List.hpp')
-rw-r--r-- | include/gui/List.hpp | 1 |
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 |