You can find an example in groups.kmm (from 1.1.x)
$_g is the name of the menu (what appears)
the last parameter is the menu name where to insert before
After, look at the same kmm file to see how to include entries in this popup menu (but there are many and many samples for that, instead of inserting in main menu).
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc
Edited 2 time(s). Last edit at 08/14/2008 04:31PM by JujuLand.