1 #ifndef __ardour_gtk_key_editor_h__
2 #define __ardour_gtk_key_editor_h__
6 #include <gtkmm/treeview.h>
7 #include <gtkmm/treestore.h>
8 #include <gtkmm/scrolledwindow.h>
9 #include <glibmm/ustring.h>
11 #include "ardour_dialog.h"
13 class KeyEditor : public ArdourDialog
21 bool on_key_release_event (GdkEventKey*);
24 struct KeyEditorColumns : public Gtk::TreeModel::ColumnRecord {
30 Gtk::TreeModelColumn<Glib::ustring> action;
31 Gtk::TreeModelColumn<std::string> binding;
32 Gtk::TreeModelColumn<std::string> path;
35 Gtk::ScrolledWindow scroller;
37 Glib::RefPtr<Gtk::TreeStore> model;
38 KeyEditorColumns columns;
40 void action_selected ();
44 #endif /* __ardour_gtk_key_editor_h__ */