Horizon
net_class_button.hpp
1 #pragma once
2 #include <gtkmm.h>
3 #include "util/uuid.hpp"
4 
5 namespace horizon {
6 
7 class NetClassButton : public Gtk::ComboBoxText {
8 public:
9  NetClassButton(const class Block &block);
10  void set_net_class(const UUID &uu);
11  typedef sigc::signal<void, UUID> type_signal_net_class_changed;
12  type_signal_net_class_changed signal_net_class_changed()
13  {
14  return s_signal_net_class_changed;
15  }
16  void update();
17 
18 private:
19  const Block &block;
20  UUID net_class_current;
21 
22  type_signal_net_class_changed s_signal_net_class_changed;
23 };
24 } // namespace horizon
A block is one level of hierarchy in the netlist.
Definition: block.hpp:29
Definition: net_class_button.hpp:7
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16