X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fkeyeditor.h;h=aedd41d4f21afe76fe26068f95e9f1157bfdff5e;hb=3c25d26e91d4703ba76c90d5175aa94e4ddd850b;hp=5e15368069f0661ccfff7babde23613082d3a321;hpb=55fb20f4912e74d71c3e6c171d916d09fbe8eeda;p=ardour.git diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h index 5e15368069..aedd41d4f2 100644 --- a/gtk2_ardour/keyeditor.h +++ b/gtk2_ardour/keyeditor.h @@ -45,6 +45,10 @@ class KeyEditor : public ArdourWindow static sigc::signal UpdateBindings; + void disconnect () { + _refresh_connection.disconnect (); + } + private: class Tab : public Gtk::VBox { @@ -107,6 +111,8 @@ class KeyEditor : public ArdourWindow Gtk::Label reset_label; Gtkmm2ext::SearchBar filter_entry; std::string filter_string; + Gtk::Button print_button; + Gtk::Label print_label; typedef std::vector Tabs; @@ -122,6 +128,9 @@ class KeyEditor : public ArdourWindow Gtk::SortType sort_type; void toggle_sort_type (); void search_string_updated (const std::string&); + void print () const; + + sigc::connection _refresh_connection; }; #endif /* __ardour_gtk_key_editor_h__ */