25 #ifndef __SYNFIG_STUDIO_DIALOG_CANVASES_H
26 #define __SYNFIG_STUDIO_DIALOG_CANVASES_H
31 #include <gtkmm/treeview.h>
44 Gtk::TreeView *canvas_tree;
46 etl::loose_handle<studio::Instance> selected_instance;
50 void set_selected_instance_(etl::handle<studio::Instance> x);
52 etl::loose_handle<studio::Instance> get_selected_instance() {
return selected_instance; }
54 etl::loose_handle<synfig::Canvas> get_selected_canvas();
56 etl::loose_handle<studio::CanvasView> get_selected_canvas_view();
58 void set_selected_instance(etl::loose_handle<studio::Instance> x);
60 void set_selected_instance_signal(etl::handle<studio::Instance> x);
62 void new_instance(etl::handle<studio::Instance> x);
64 void delete_instance(etl::handle<studio::Instance> x);
66 void refresh_instances();
72 void on_row_activate(
const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *);
77 void on_action_toggle(
const Glib::ustring& path);
78 Gtk::Widget* create_canvas_tree();