Horizon
preferences_window_pool.hpp
1 #pragma once
2 #include <gtkmm.h>
3 
4 namespace horizon {
5 class PoolPreferencesEditor : public Gtk::Box {
6 public:
7  PoolPreferencesEditor(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &x);
8  static PoolPreferencesEditor *create();
9  void add_pool(const std::string &path);
10 
11 
12 private:
13  class PoolManager &mgr;
14  Gtk::ListBox *listbox = nullptr;
15  Gtk::Button *button_add_pool = nullptr;
16  Glib::RefPtr<Gtk::SizeGroup> size_group;
17  void update();
18 };
19 
20 } // namespace horizon
horizon::PoolPreferencesEditor
Definition: preferences_window_pool.hpp:5
horizon::PoolManager
Definition: pool_manager.hpp:21