26 #ifndef __SYNFIG_STUDIO_METADATATREE_H
27 #define __SYNFIG_STUDIO_METADATATREE_H
31 #include <gtkmm/treeview.h>
32 #include <gtkmm/treestore.h>
52 Glib::RefPtr<MetaDataTreeStore> metadata_tree_store_;
53 Gtk::CellRendererText *cell_renderer_key;
54 Gtk::CellRendererText *cell_renderer_data;
55 sigc::signal<void,synfig::String> signal_edited_;
56 sigc::signal<void,synfig::String,synfig::String> signal_edited_data_;
60 void on_edited_key(
const Glib::ustring&path_string,synfig::String key);
61 void on_edited_data(
const Glib::ustring&path_string,synfig::String data);
64 void set_model(Glib::RefPtr<MetaDataTreeStore> metadata_tree_store_);
68 sigc::signal<void,synfig::String>&
signal_edited() {
return signal_edited_; }
70 sigc::signal<void,synfig::String,synfig::String>&
signal_edited_data() {
return signal_edited_data_; }