27 #ifndef __SYNFIG_COMPVIEW_H
28 #define __SYNFIG_COMPVIEW_H
34 #include <gtkmm/window.h>
35 #include <gtkmm/image.h>
36 #include <gtkmm/tooltip.h>
37 #include <gtkmm/table.h>
38 #include <gtkmm/button.h>
39 #include <gtkmm/menu.h>
40 #include <gtkmm/notebook.h>
41 #include <gtkmm/treeview.h>
42 #include <gtkmm/box.h>
43 #include <gtkmm/comboboxtext.h>
55 namespace synfig {
class Canvas; };
68 Gtk::ComboBoxText instance_selector;
69 Gtk::Notebook *notebook;
71 Gtk::TreeView *canvas_tree;
72 Gtk::TreeView *action_tree;
76 std::vector< etl::loose_handle<studio::Instance> > instances;
77 etl::loose_handle<studio::Instance> selected_instance;
79 void set_selected_instance_(etl::handle<studio::Instance> x);
111 Gtk::Widget* create_canvas_tree();
112 Gtk::Widget* create_action_tree();
114 void on_row_activate(
const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *);
115 bool on_tree_event(GdkEvent *event);
117 bool on_action_event(GdkEvent *event);
121 void menu_new_canvas();
125 void on_action_toggle(
const Glib::ustring& path);