How does ROOT build context menus?


Is there any documentation regarding how ROOT uses the various comments in code like *MENU and *OPTIONS to implement context menus? For example I’ve seen in some code the use of a “Heirarchy” option for *MENU, but I can’t find any documentation about it anywhere. If no such documentation exists, could somebody point me in the direction of the code that parses the files and produces the menu and I’ll work it out myself.



Hi Hugh,

Please see my answer there:

Cheers, Bertrand.