26 #ifndef __SYNFIG_STUDIO_CHILDRENTREESTORE_H
27 #define __SYNFIG_STUDIO_CHILDRENTREESTORE_H
31 #include <gtkmm/treestore.h>
34 #include <synfig/value.h>
35 #include <synfig/valuenode.h>
69 Gtk::TreeModel::Row value_node_row;
70 Gtk::TreeModel::Row canvas_row;
72 std::set<synfig::ValueNode::Handle> changed_set_;
74 std::set<synfig::ValueNode::Handle> replaced_set_;
82 sigc::connection changed_connection;
83 bool execute_changed_queued()
const {
return !changed_set_.empty() || !replaced_set_.empty(); }
84 bool execute_changed_value_nodes();
85 void clear_changed_queue() { changed_set_.clear(); replaced_set_.clear(); }
101 void set_value_impl(
const Gtk::TreeModel::iterator& iter,
int column,
const Glib::ValueBase& value);
109 ChildrenTreeStore(etl::loose_handle<synfigapp::CanvasInterface> canvas_interface_);
124 void refresh_row(Gtk::TreeModel::Row &row,
bool do_children=
false);
136 static Glib::RefPtr<ChildrenTreeStore>
create(etl::loose_handle<synfigapp::CanvasInterface> canvas_interface_);