19 void set_select_mode(
bool select_mode);
20 bool has_grids()
const;
26 bool select_mode =
false;
30 class ListColumns :
public Gtk::TreeModelColumnRecord {
34 Gtk::TreeModelColumnRecord::add(uuid);
35 Gtk::TreeModelColumnRecord::add(name);
36 Gtk::TreeModelColumnRecord::add(spacing);
37 Gtk::TreeModelColumnRecord::add(origin);
39 Gtk::TreeModelColumn<UUID> uuid;
40 Gtk::TreeModelColumn<Glib::ustring> name;
41 Gtk::TreeModelColumn<Glib::ustring> spacing;
42 Gtk::TreeModelColumn<Glib::ustring> origin;
44 ListColumns list_columns;
46 Glib::RefPtr<Gtk::ListStore> store;
47 Gtk::TreeView *treeview =
nullptr;
49 void update_buttons();
51 Gtk::Box *button_box =
nullptr;
52 Gtk::Button *button_ok =
nullptr;
53 Gtk::Button *button_cancel =
nullptr;
54 Gtk::Button *button_apply =
nullptr;
55 Gtk::Button *button_remove =
nullptr;
56 Gtk::HeaderBar *headerbar =
nullptr;