Ardour  9.0-pre0-582-g084a23a80d
ActionManager Namespace Reference

Classes

class  ActionModel
 
class  MissingActionException
 

Functions

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 >)
 
void init ()
 
void set_sensitive (Glib::RefPtr< Gtk::ActionGroup > group, bool yn)
 
void set_sensitive (std::vector< Glib::RefPtr< Gtk::Action > > &actions, bool)
 
std::string get_key_representation (const std::string &accel_path, Gtk::AccelKey &key)
 
Gtk::Widgetget_widget (const char *name)
 
void do_action (const char *group, const char *name)
 
void set_toggle_action (const char *group, const char *name, bool)
 
void check_toggleaction (const std::string &)
 
void uncheck_toggleaction (const std::string &)
 
void set_toggleaction_state (const std::string &, bool)
 
bool set_toggleaction_state (const char *, const char *, bool)
 
void save_action_states ()
 
void enable_active_actions ()
 
void disable_active_actions ()
 
Glib::RefPtr< Gtk::ActionGroupcreate_action_group (void *owner, std::string const &group_name)
 
Glib::RefPtr< Gtk::ActionGroupget_action_group (std::string const &group_name)
 
Glib::RefPtr< Gtk::Actionregister_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label)
 
Glib::RefPtr< Gtk::Actionregister_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label, sigc::slot< void > sl)
 
Glib::RefPtr< Gtk::Actionregister_radio_action (Glib::RefPtr< Gtk::ActionGroup > group, Gtk::RadioAction::Group &, const char *name, const char *label, sigc::slot< void, GtkAction * > sl, int value)
 
Glib::RefPtr< Gtk::Actionregister_radio_action (Glib::RefPtr< Gtk::ActionGroup > group, Gtk::RadioAction::Group &, const char *name, const char *label, sigc::slot< void > sl)
 
Glib::RefPtr< Gtk::Actionregister_toggle_action (Glib::RefPtr< Gtk::ActionGroup > group, const char *name, const char *label, sigc::slot< void > sl)
 
Glib::RefPtr< Gtk::Actionget_action (const std::string &name, bool or_die=true)
 
Glib::RefPtr< Gtk::Actionget_action (char const *group_name, char const *action_name, bool or_die=true)
 
Glib::RefPtr< Gtk::ToggleActionget_toggle_action (const std::string &name, bool or_die=true)
 
Glib::RefPtr< Gtk::ToggleActionget_toggle_action (char const *group_name, char const *action_name, bool or_die=true)
 
Glib::RefPtr< Gtk::RadioActionget_radio_action (const std::string &name, bool or_die=true)
 
Glib::RefPtr< Gtk::RadioActionget_radio_action (char const *group_name, char const *action_name, bool or_die=true)
 
void get_actions (void *owner, std::vector< Glib::RefPtr< Gtk::Action > > &)
 
void get_all_actions (std::vector< std::string > &paths, std::vector< std::string > &labels, std::vector< std::string > &tooltips, std::vector< std::string > &keys, std::vector< Glib::RefPtr< Gtk::Action > > &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 > > stripable_selection_sensitive_actions
 
std::vector< Glib::RefPtr< Gtk::Action > > bus_selection_sensitive_actions
 
std::vector< Glib::RefPtr< Gtk::Action > > route_selection_sensitive_actions
 
std::vector< Glib::RefPtr< Gtk::Action > > vca_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 > > rec_sensitive_actions
 
std::string unbound_string
 
Glib::RefPtr< Gtk::UIManagerui_manager
 

Function Documentation

◆ check_toggleaction()

void ActionManager::check_toggleaction ( const std::string &  )

◆ create_action_group()

Glib::RefPtr<Gtk::ActionGroup> ActionManager::create_action_group ( void *  owner,
std::string const &  group_name 
)

◆ disable_active_actions()

void ActionManager::disable_active_actions ( )

◆ do_action()

void ActionManager::do_action ( const char *  group,
const char *  name 
)

◆ enable_active_actions()

void ActionManager::enable_active_actions ( )

◆ get_action() [1/2]

Glib::RefPtr<Gtk::Action> ActionManager::get_action ( char const *  group_name,
char const *  action_name,
bool  or_die = true 
)

◆ get_action() [2/2]

Glib::RefPtr<Gtk::Action> ActionManager::get_action ( const std::string &  name,
bool  or_die = true 
)

◆ get_action_group()

Glib::RefPtr<Gtk::ActionGroup> ActionManager::get_action_group ( std::string const &  group_name)

◆ get_actions()

void ActionManager::get_actions ( void *  owner,
std::vector< Glib::RefPtr< Gtk::Action > > &   
)

◆ get_all_actions()

void ActionManager::get_all_actions ( std::vector< std::string > &  paths,
std::vector< std::string > &  labels,
std::vector< std::string > &  tooltips,
std::vector< std::string > &  keys,
std::vector< Glib::RefPtr< Gtk::Action > > &  actions 
)

◆ get_key_representation()

std::string ActionManager::get_key_representation ( const std::string &  accel_path,
Gtk::AccelKey key 
)

◆ get_radio_action() [1/2]

Glib::RefPtr<Gtk::RadioAction> ActionManager::get_radio_action ( char const *  group_name,
char const *  action_name,
bool  or_die = true 
)

◆ get_radio_action() [2/2]

Glib::RefPtr<Gtk::RadioAction> ActionManager::get_radio_action ( const std::string &  name,
bool  or_die = true 
)

◆ get_toggle_action() [1/2]

Glib::RefPtr<Gtk::ToggleAction> ActionManager::get_toggle_action ( char const *  group_name,
char const *  action_name,
bool  or_die = true 
)

◆ get_toggle_action() [2/2]

Glib::RefPtr<Gtk::ToggleAction> ActionManager::get_toggle_action ( const std::string &  name,
bool  or_die = true 
)

◆ get_widget()

Gtk::Widget* ActionManager::get_widget ( const char *  name)

◆ init()

void ActionManager::init ( )

◆ load_menus()

void ActionManager::load_menus ( const std::string &  menus_file_name)

◆ map_some_state() [1/3]

void ActionManager::map_some_state ( const char *  group,
const char *  action,
bool(ARDOUR::RCConfiguration::*)() const  get 
)

◆ map_some_state() [2/3]

void ActionManager::map_some_state ( const char *  group,
const char *  action,
bool(UIConfiguration::*)() const  get 
)

◆ map_some_state() [3/3]

void ActionManager::map_some_state ( const char *  group,
const char *  action,
sigc::slot< bool >   
)

◆ register_action() [1/2]

Glib::RefPtr<Gtk::Action> ActionManager::register_action ( Glib::RefPtr< Gtk::ActionGroup group,
const char *  name,
const char *  label 
)

◆ register_action() [2/2]

Glib::RefPtr<Gtk::Action> ActionManager::register_action ( Glib::RefPtr< Gtk::ActionGroup group,
const char *  name,
const char *  label,
sigc::slot< void >  sl 
)

◆ register_radio_action() [1/2]

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 
)

◆ register_radio_action() [2/2]

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, GtkAction * >  sl,
int  value 
)

◆ register_toggle_action()

Glib::RefPtr<Gtk::Action> ActionManager::register_toggle_action ( Glib::RefPtr< Gtk::ActionGroup group,
const char *  name,
const char *  label,
sigc::slot< void >  sl 
)

◆ save_action_states()

void ActionManager::save_action_states ( )

◆ set_sensitive() [1/2]

void ActionManager::set_sensitive ( Glib::RefPtr< Gtk::ActionGroup group,
bool  yn 
)

◆ set_sensitive() [2/2]

void ActionManager::set_sensitive ( std::vector< Glib::RefPtr< Gtk::Action > > &  actions,
bool   
)

◆ set_toggle_action()

void ActionManager::set_toggle_action ( const char *  group,
const char *  name,
bool   
)

◆ set_toggleaction_state() [1/2]

bool ActionManager::set_toggleaction_state ( const char *  ,
const char *  ,
bool   
)

◆ set_toggleaction_state() [2/2]

void ActionManager::set_toggleaction_state ( const std::string &  ,
bool   
)

◆ toggle_config_state() [1/2]

void ActionManager::toggle_config_state ( const char *  group,
const char *  action,
bool(ARDOUR::RCConfiguration::*)(bool)  set,
bool(ARDOUR::RCConfiguration::*)(void) const  get 
)

◆ toggle_config_state() [2/2]

void ActionManager::toggle_config_state ( const char *  group,
const char *  action,
bool(UIConfiguration::*)(bool)  set,
bool(UIConfiguration::*)(void) const  get 
)

◆ toggle_config_state_foo()

void ActionManager::toggle_config_state_foo ( const char *  group,
const char *  action,
sigc::slot< bool, bool >  ,
sigc::slot< bool >   
)

◆ uncheck_toggleaction()

void ActionManager::uncheck_toggleaction ( const std::string &  )

Variable Documentation

◆ bus_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::bus_selection_sensitive_actions
extern

◆ engine_opposite_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::engine_opposite_sensitive_actions
extern

◆ engine_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::engine_sensitive_actions
extern

◆ line_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::line_selection_sensitive_actions
extern

◆ mouse_edit_point_requires_canvas_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::mouse_edit_point_requires_canvas_actions
extern

◆ playlist_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::playlist_selection_sensitive_actions
extern

◆ plugin_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::plugin_selection_sensitive_actions
extern

◆ point_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::point_selection_sensitive_actions
extern

◆ range_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::range_sensitive_actions
extern

◆ rec_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::rec_sensitive_actions
extern

◆ region_list_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::region_list_selection_sensitive_actions
extern

◆ route_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::route_selection_sensitive_actions
extern

◆ session_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::session_sensitive_actions
extern

◆ stripable_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::stripable_selection_sensitive_actions
extern

◆ time_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::time_selection_sensitive_actions
extern

◆ track_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::track_selection_sensitive_actions
extern

◆ transport_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::transport_sensitive_actions
extern

◆ ui_manager

Glib::RefPtr<Gtk::UIManager> ActionManager::ui_manager
extern

◆ unbound_string

std::string ActionManager::unbound_string
extern

◆ vca_selection_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::vca_selection_sensitive_actions
extern

◆ write_sensitive_actions

std::vector<Glib::RefPtr<Gtk::Action> > ActionManager::write_sensitive_actions
extern