ardour
|
Functions | |
void | init () |
void | load_menus (const std::string &menus_file_name) |
void | map_some_state (const char *group, const char *action, bool(ARDOUR::RCConfiguration::*get)() const) |
void | map_some_state (const char *group, const char *action, bool(UIConfiguration::*get)() const) |
void | map_some_state (const char *group, const char *action, sigc::slot< bool >) |
void | toggle_config_state (const char *group, const char *action, bool(UIConfiguration::*set)(bool), bool(UIConfiguration::*get)(void) const) |
void | toggle_config_state (const char *group, const char *action, bool(ARDOUR::RCConfiguration::*set)(bool), bool(ARDOUR::RCConfiguration::*get)(void) const) |
void | toggle_config_state_foo (const char *group, const char *action, sigc::slot< bool, bool >, sigc::slot< bool >) |
LIBGTKMM2EXT_API void | set_sensitive (std::vector< Glib::RefPtr< Gtk::Action > > &actions, bool) |
LIBGTKMM2EXT_API std::string | get_key_representation (const std::string &accel_path, Gtk::AccelKey &key) |
LIBGTKMM2EXT_API Gtk::Widget * | get_widget (const char *name) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | get_action (const char *group, const char *name) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | get_action (const char *path) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | get_action_from_name (const char *name) |
LIBGTKMM2EXT_API void | do_action (const char *group, const char *name) |
LIBGTKMM2EXT_API void | set_toggle_action (const char *group, const char *name, bool) |
LIBGTKMM2EXT_API void | add_action_group (Glib::RefPtr< Gtk::ActionGroup >) |
LIBGTKMM2EXT_API void | enable_accelerators () |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label, sigc::slot< void > sl, guint key, Gdk::ModifierType mods) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label, sigc::slot< void > sl) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_radio_action (Glib::RefPtr< Gtk::ActionGroup > group, Gtk::RadioAction::Group &, const char *name, const char *label, sigc::slot< void > sl, guint key, Gdk::ModifierType mods) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_radio_action (Glib::RefPtr< Gtk::ActionGroup > group, Gtk::RadioAction::Group &, const char *name, const char *label, sigc::slot< void > sl) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_radio_action (Glib::RefPtr< Gtk::ActionGroup > group, Gtk::RadioAction::Group &, std::string const &, std::string const &, std::string const &, sigc::slot< void > sl) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_toggle_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label, sigc::slot< void > sl, guint key, Gdk::ModifierType mods) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_toggle_action (Glib::RefPtr< Gtk::ActionGroup > group, std::string const &, std::string const &, std::string const &, sigc::slot< void > sl) |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::Action > | register_toggle_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label, sigc::slot< void > sl) |
LIBGTKMM2EXT_API bool | lookup_entry (const Glib::ustring accel_path, Gtk::AccelKey &key) |
LIBGTKMM2EXT_API void | get_all_actions (std::vector< std::string > &names, std::vector< std::string > &paths, std::vector< std::string > &tooltips, std::vector< std::string > &keys, std::vector< Gtk::AccelKey > &bindings) |
LIBGTKMM2EXT_API void | get_all_actions (std::vector< std::string > &groups, std::vector< std::string > &paths, std::vector< std::string > &tooltips, std::vector< Gtk::AccelKey > &bindings) |
LIBGTKMM2EXT_API void | check_toggleaction (std::string) |
LIBGTKMM2EXT_API void | uncheck_toggleaction (std::string) |
LIBGTKMM2EXT_API void | set_toggleaction_state (std::string, bool) |
LIBGTKMM2EXT_API void | push_action_state () |
LIBGTKMM2EXT_API void | pop_action_state () |
LIBGTKMM2EXT_API void | disable_all_actions () |
Variables | |
std::vector< Glib::RefPtr < Gtk::Action > > | session_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | write_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | region_list_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | plugin_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | track_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | point_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | time_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | line_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | playlist_selection_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | mouse_edit_point_requires_canvas_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | range_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | transport_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | engine_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | engine_opposite_sensitive_actions |
std::vector< Glib::RefPtr < Gtk::Action > > | edit_point_in_region_sensitive_actions |
LIBGTKMM2EXT_API std::string | unbound_string = "--" |
LIBGTKMM2EXT_API Glib::RefPtr < Gtk::UIManager > | ui_manager |
LIBGTKMM2EXT_API void ActionManager::add_action_group | ( | Glib::RefPtr< Gtk::ActionGroup > | ) |
LIBGTKMM2EXT_API void ActionManager::check_toggleaction | ( | std::string | ) |
void ActionManager::disable_all_actions | ( | ) |
Definition at line 349 of file actions.cc.
void ActionManager::do_action | ( | const char * | group, |
const char * | name | ||
) |
Definition at line 532 of file actions.cc.
void ActionManager::enable_accelerators | ( | ) |
Definition at line 241 of file actions.cc.
RefPtr< Action > ActionManager::get_action | ( | const char * | group, |
const char * | name | ||
) |
Definition at line 406 of file actions.cc.
RefPtr< Action > ActionManager::get_action | ( | const char * | path | ) |
Definition at line 372 of file actions.cc.
RefPtr< Action > ActionManager::get_action_from_name | ( | const char * | name | ) |
Definition at line 439 of file actions.cc.
LIBGTKMM2EXT_API void ActionManager::get_all_actions | ( | std::vector< std::string > & | names, |
std::vector< std::string > & | paths, | ||
std::vector< std::string > & | tooltips, | ||
std::vector< std::string > & | keys, | ||
std::vector< Gtk::AccelKey > & | bindings | ||
) |
LIBGTKMM2EXT_API void ActionManager::get_all_actions | ( | std::vector< std::string > & | groups, |
std::vector< std::string > & | paths, | ||
std::vector< std::string > & | tooltips, | ||
std::vector< Gtk::AccelKey > & | bindings | ||
) |
LIBGTKMM2EXT_API std::string ActionManager::get_key_representation | ( | const std::string & | accel_path, |
Gtk::AccelKey & | key | ||
) |
Widget * ActionManager::get_widget | ( | const char * | name | ) |
Definition at line 366 of file actions.cc.
void ActionManager::init | ( | ) |
Definition at line 69 of file actions.cc.
void ActionManager::load_menus | ( | const std::string & | menus_file_name | ) |
LIBGTKMM2EXT_API bool ActionManager::lookup_entry | ( | const Glib::ustring | accel_path, |
Gtk::AccelKey & | key | ||
) |
void ActionManager::map_some_state | ( | const char * | group, |
const char * | action, | ||
bool(ARDOUR::RCConfiguration::*)() const | get | ||
) |
void ActionManager::map_some_state | ( | const char * | group, |
const char * | action, | ||
bool(UIConfiguration::*)() const | get | ||
) |
Set the state of a ToggleAction using a particular Configuration get() method
group | Action group. |
action | Action name. |
get | Method to obtain the state that the ToggleAction should have. |
Definition at line 199 of file actions.cc.
void ActionManager::map_some_state | ( | const char * | group, |
const char * | action, | ||
sigc::slot< bool > | get | ||
) |
Definition at line 217 of file actions.cc.
void ActionManager::pop_action_state | ( | ) |
Definition at line 333 of file actions.cc.
void ActionManager::push_action_state | ( | ) |
Definition at line 327 of file actions.cc.
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
const char * | name, | ||
const char * | label | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
const char * | name, | ||
const char * | label, | ||
sigc::slot< void > | sl, | ||
guint | key, | ||
Gdk::ModifierType | mods | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
const char * | name, | ||
const char * | label, | ||
sigc::slot< void > | sl | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_radio_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
Gtk::RadioAction::Group & | , | ||
const char * | name, | ||
const char * | label, | ||
sigc::slot< void > | sl, | ||
guint | key, | ||
Gdk::ModifierType | mods | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_radio_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
Gtk::RadioAction::Group & | , | ||
const char * | name, | ||
const char * | label, | ||
sigc::slot< void > | sl | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_radio_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
Gtk::RadioAction::Group & | , | ||
std::string const & | , | ||
std::string const & | , | ||
std::string const & | , | ||
sigc::slot< void > | sl | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_toggle_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
const char * | name, | ||
const char * | label, | ||
sigc::slot< void > | sl, | ||
guint | key, | ||
Gdk::ModifierType | mods | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_toggle_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
std::string const & | , | ||
std::string const & | , | ||
std::string const & | , | ||
sigc::slot< void > | sl | ||
) |
LIBGTKMM2EXT_API Glib::RefPtr<Gtk::Action> ActionManager::register_toggle_action | ( | Glib::RefPtr< Gtk::ActionGroup > | group, |
const char * | name, | ||
const char * | label, | ||
sigc::slot< void > | sl | ||
) |
LIBGTKMM2EXT_API void ActionManager::set_sensitive | ( | std::vector< Glib::RefPtr< Gtk::Action > > & | actions, |
bool | |||
) |
void ActionManager::set_toggle_action | ( | const char * | group, |
const char * | name, | ||
bool | yn | ||
) |
Definition at line 541 of file actions.cc.
LIBGTKMM2EXT_API void ActionManager::set_toggleaction_state | ( | std::string | , |
bool | |||
) |
void ActionManager::toggle_config_state | ( | const char * | group, |
const char * | action, | ||
bool(UIConfiguration::*)(bool) | set, | ||
bool(UIConfiguration::*)(void) const | get | ||
) |
Examine the state of a Configuration setting and a toggle action, and toggle the Configuration setting if its state doesn't match the toggle action.
group | Action group. |
action | Action name. |
Method | to set the state of the Configuration setting. |
Method | to get the state of the Configuration setting. |
Definition at line 134 of file actions.cc.
void ActionManager::toggle_config_state | ( | const char * | group, |
const char * | action, | ||
bool(ARDOUR::RCConfiguration::*)(bool) | set, | ||
bool(ARDOUR::RCConfiguration::*)(void) const | get | ||
) |
void ActionManager::toggle_config_state_foo | ( | const char * | group, |
const char * | action, | ||
sigc::slot< bool, bool > | set, | ||
sigc::slot< bool > | get | ||
) |
Definition at line 152 of file actions.cc.
LIBGTKMM2EXT_API void ActionManager::uncheck_toggleaction | ( | std::string | ) |
vector< RefPtr< Gtk::Action > > ActionManager::edit_point_in_region_sensitive_actions |
Definition at line 64 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::engine_opposite_sensitive_actions |
Definition at line 62 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::engine_sensitive_actions |
Definition at line 61 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::line_selection_sensitive_actions |
Definition at line 56 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::mouse_edit_point_requires_canvas_actions |
Definition at line 58 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::playlist_selection_sensitive_actions |
Definition at line 57 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::plugin_selection_sensitive_actions |
Definition at line 52 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::point_selection_sensitive_actions |
Definition at line 54 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::range_sensitive_actions |
Definition at line 60 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::region_list_selection_sensitive_actions |
Definition at line 51 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::session_sensitive_actions |
Definition at line 49 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::time_selection_sensitive_actions |
Definition at line 55 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::track_selection_sensitive_actions |
Definition at line 53 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::transport_sensitive_actions |
Definition at line 63 of file actions.cc.
RefPtr< UIManager > ActionManager::ui_manager |
Definition at line 53 of file actions.cc.
string ActionManager::unbound_string = "--" |
Definition at line 54 of file actions.cc.
vector< RefPtr< Gtk::Action > > ActionManager::write_sensitive_actions |
Definition at line 50 of file actions.cc.