Horizon
preferences_window_pool.hpp
1 #pragma once
2 #include <gtkmm.h>
3 
4 namespace horizon {
5 class PoolPreferencesEditor : public Gtk::ScrolledWindow {
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  Glib::RefPtr<Gtk::SizeGroup> size_group;
16  void update();
17 };
18 
19 } // namespace horizon