Horizon
header_button.hpp
1 #pragma once
2 #include <gtkmm.h>
3 
4 namespace horizon {
5 class HeaderButton : public Gtk::MenuButton {
6 public:
7  HeaderButton();
8  void set_label(const std::string &l);
9  Gtk::Entry *add_entry(const std::string &label);
10  void add_widget(const std::string &label, Gtk::Widget *w);
11 
12 private:
13  int top = 0;
14  Gtk::Label *label = nullptr;
15  Gtk::Grid *grid = nullptr;
16 };
17 } // namespace horizon
horizon::HeaderButton
Definition: header_button.hpp:5