by Hooray » Sun Apr 03, 2016 9:26 am
last I checked (and IIRC), it worked by loading the menubar.xml file into the property tree, from where it is then "compiled" into an actual PUI data structure with bindings,so you will see the menubar structure in the property tree, but at that point, it's already compiled and what you change there doesn't have any effect, unless you also "reinit-gui".
Like Thorsten said, it would make sense to look at other aircraft using aircraft specific menu items, and maybe document the whole process a little better.
For the time being, I *think* that reinit-gui will also reload menubar.xml - but it would be straightforward to add an option to it, so that it skips that step.
(no idea if that's already supported or not)