1 #pragma once 2 #include <gtkmm.h> 3 4 class Info : public Gtk::InfoBar { 5 Info(); 6 7 public: get()8 static Info &get() { 9 static Info instance; 10 return instance; 11 } 12 13 void print(const std::string &text); 14 15 private: 16 Gtk::Label label; 17 sigc::connection timeout_connection; 18 }; 19