Horizon
done_revealer_controller.hpp
1 #pragma once
2 #include <gtkmm.h>
3 
4 namespace horizon {
6 public:
7  void attach(Gtk::Revealer *rev, Gtk::Label *la, Gtk::Button *bu);
8  void show_success(const std::string &s);
9  void show_error(const std::string &s);
10 
11 private:
12  Gtk::Revealer *revealer = nullptr;
13  Gtk::Label *label = nullptr;
14  Gtk::Button *button = nullptr;
15 
16  sigc::connection flash_connection;
17 };
18 } // namespace horizon
Definition: done_revealer_controller.hpp:5