25 #include <ytkmm/action.h>
26 #include <ytkmm/buttonbox.h>
27 #include <ytkmm/notebook.h>
28 #include <ytkmm/scrolledwindow.h>
29 #include <ytkmm/treemodelfilter.h>
30 #include <ytkmm/treestore.h>
31 #include <ytkmm/treeview.h>
56 class Tab :
public Gtk::VBox
63 void bind (GdkEventKey* release_event, guint pressed_key);
67 bool visible_func(
const Gtk::TreeModel::const_iterator& iter)
const;
77 Gtk::TreeModelColumn<std::string>
name;
78 Gtk::TreeModelColumn<std::string>
binding;
79 Gtk::TreeModelColumn<std::string>
path;
81 Gtk::TreeModelColumn<Glib::RefPtr<Gtk::Action> >
action;
93 mutable Gtk::TreeView
view;
95 Glib::RefPtr<Gtk::TreeModelFilter>
filter;
103 Gtk::TreeModel::iterator
find_action_path (Gtk::TreeModel::const_iterator begin, Gtk::TreeModel::const_iterator end,
const std::string& path)
const;
120 typedef std::vector<Tab*>
Tabs;
Glib::RefPtr< Gtk::TreeModelSort > sorted_filter
bool key_press_event(GdkEventKey *)
Tab(KeyEditor &, std::string const &name, Gtkmm2ext::Bindings *)
void sort_column_changed()
Gtkmm2ext::Bindings * bindings
Glib::RefPtr< Gtk::TreeStore > data_model
void bind(GdkEventKey *release_event, guint pressed_key)
bool key_release_event(GdkEventKey *)
bool visible_func(const Gtk::TreeModel::const_iterator &iter) const
Gtk::TreeModel::iterator find_action_path(Gtk::TreeModel::const_iterator begin, Gtk::TreeModel::const_iterator end, const std::string &path) const
Glib::RefPtr< Gtk::TreeModelFilter > filter
Gtk::ScrolledWindow scroller
void search_string_updated(const std::string &)
Gtk::Button unbind_button
static sigc::signal< void > UpdateBindings
void add_tab(std::string const &name, Gtkmm2ext::Bindings &)
void page_change(GtkNotebookPage *, guint)
void remove_tab(std::string const &name)
sigc::connection _refresh_connection
Gtk::HButtonBox unbind_box
ArdourWidgets::SearchBar filter_entry
std::string filter_string
std::vector< Tab * > Tabs
PBD::PropertyDescriptor< std::string > name
Gtk::TreeModelColumn< std::string > binding
Gtk::TreeModelColumn< std::string > name
Gtk::TreeModelColumn< Glib::RefPtr< Gtk::Action > > action
Gtk::TreeModelColumn< bool > bindable
Gtk::TreeModelColumn< std::string > path