Horizon
recent_item_box.hpp
1 #pragma once
2 #include <gtkmm.h>
3 
4 namespace horizon {
5 class RecentItemBox : public Gtk::Box {
6 public:
7  RecentItemBox(const std::string &name, const std::string &path, const Glib::DateTime &time);
8  const std::string path;
9 
10 private:
11  const Glib::DateTime time;
12  void update_time();
13  Gtk::Label *time_label = nullptr;
14 };
15 } // namespace horizon
horizon::RecentItemBox
Definition: recent_item_box.hpp:5