5 #include "util/changeable.hpp"
6 #include "common/common.hpp"
9 class TagEntry :
public Gtk::Box,
public Changeable {
15 TagEntry(
class IPool &p, ObjectType t,
bool edit_mode =
false);
16 std::set<std::string> get_tags()
const;
17 void set_tags(
const std::set<std::string> &tags);
22 const ObjectType type;
24 Gtk::MenuButton *add_button =
nullptr;
25 Gtk::Box *box =
nullptr;
27 void add_tag(
const std::string &t);
28 void remove_tag(
const std::string &t);
29 std::map<std::string, class TagLabel *> label_widgets;
30 void update_add_button_sensitivity();