personal menu item
Posted by: ndebord
Date: August 12, 2008 03:41AM

OK. I would like to add a main menu item, right between Tools and Help. Not sure of how to use the new macro language to accomplish this, so a sample would be greatly appreciated.

Tks for listening.

N

Re: personal menu item
Posted by: JujuLand
Date: August 12, 2008 10:04AM

You can find an example in groups.kmm (from 1.1.x)

$_g="&Groups";
setmenu(Main,popup,$_g,"&Tools");

$_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).

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
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.

K-Meleon forum is powered by Phorum.