now with extra-yummy key-release binding semantics, specially for visual state stuff...
[ardour.git] / gtk2_ardour / actions.h
index 832403f01feaebc54332357397eea04f6d272f3d..0ff45a7a10f55fbd38a0fc4075811564a2859a57 100644 (file)
@@ -70,6 +70,7 @@ class ActionManager
 
        static Gtk::Widget* get_widget (const char * name);
        static Glib::RefPtr<Gtk::Action> get_action (const char* group, const char* name);
+       static Glib::RefPtr<Gtk::Action> get_action (const char* path);
 
        static void add_action_group (Glib::RefPtr<Gtk::ActionGroup>);
 
@@ -100,6 +101,10 @@ class ActionManager
                                     std::vector<std::string>& keys, 
                                     std::vector<Gtk::AccelKey>& bindings);
 
+       static void get_all_actions (std::vector<std::string>& groups, 
+                                    std::vector<std::string>& paths, 
+                                    std::vector<Gtk::AccelKey>& bindings);
+
        static void uncheck_toggleaction (const char * actionname);
 };