MCPcopy Create free account
hub / github.com/Entware/Entware / setRootMenu

Method setRootMenu

scripts/config/qconf.cc:548–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548void ConfigList::setRootMenu(struct menu *menu)
549{
550 enum prop_type type;
551
552 if (rootEntry == menu)
553 return;
554 type = menu && menu->prompt ? menu->prompt->type : P_UNKNOWN;
555 if (type != P_MENU)
556 return;
557 updateMenuList(0);
558 rootEntry = menu;
559 updateListAll();
560 if (currentItem()) {
561 setSelected(currentItem(), hasFocus());
562 scrollToItem(currentItem());
563 }
564}
565
566void ConfigList::setParentMenu(void)
567{

Callers 6

changeItensMethod · 0.80
changeMenuMethod · 0.80
setMenuLinkMethod · 0.80
showSingleViewMethod · 0.80
showSplitViewMethod · 0.80
showFullViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected