<key id="KEY_MENU" mapto="mainMenu" flags="mr" />
</map>
+ <map context="MenuActions">
+ <key id="KEY_MENU" mapto="menu" flags="mr" />
+ </map>
+
<map context="InfobarShowHideActions">
<key id="KEY_OK" mapto="toggleShow" flags="m" />
<key id="KEY_EXIT" mapto="hide" flags="m" />
self["menu"] = MenuList(list)
- self["actions"] = ActionMap(["OkCancelActions"],
+ self["actions"] = ActionMap(["OkCancelActions", "MenuActions"],
{
"ok": self.okbuttonClick,
- "cancel": self.close
+ "cancel": self.close,
+ "menu": self.close
})
a = getValbyAttr(parent, "title")