MCPcopy Create free account
hub / github.com/KLayout/klayout / collect_configure_actions

Method collect_configure_actions

src/laybasic/laybasic/layAbstractMenu.cc:2063–2073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2061}
2062
2063void
2064AbstractMenu::collect_configure_actions (std::vector<lay::ConfigureAction *> &ca, AbstractMenuItem &item)
2065{
2066 for (std::list<AbstractMenuItem>::iterator c = item.children.begin (); c != item.children.end (); ++c) {
2067 ConfigureAction *cca = dynamic_cast<ConfigureAction *> (c->action ());
2068 if (cca) {
2069 ca.push_back (cca);
2070 }
2071 collect_configure_actions (ca, *c);
2072 }
2073}
2074
2075void
2076AbstractMenu::get_shortcuts (const std::string &root, std::map<std::string, std::string> &bindings, bool with_defaults)

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
actionMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected