I'm trying to figure out how auto-merging menus works. So far it seems like you have to know exactly what kind of menu the parent is going to have before you can define your child menu.
Ex: is there a way to have File -> Close that will show up on the parent both if the parent already has File -> Exit, y if the parent has no File menu at all? (and without duplicating the File menu)
In the former case I think you would use MergeActions MatchOnly and Append/Insert respectively for File -> Close, and in the latter case I think you would use Append/Insert for both. How can I setup the child menu to appear in either case?
That is, how can I get the child File menu to merge into an existing parent File menu, or append the File menu if the parent has no existing File menu?
If there isn't a way to do this in the editor, is there a way to do it with code? (Hopefully aside from writing my own recursive merging code.)
preguntado el 27 de agosto de 11 a las 20:08