[gps-users] Adding submenu items to GPS

Arjan van Dijk Arjan.van.Dijk at rivm.nl
Mon Mar 3 14:05:09 CET 2008


Hi!

Following the documentation, I have tried to add a new submenu to GPS, with
two entries.
I wrote a small file named puffcustom.xml which is located in
c:\MingW\share\gps\plug-ins\.
The following code does actually add a new submenu item, but this submenu
does not
have any entries, only a small piece of sand shows up directly below the
menu-tag "Puff_Tools":

<?xml version="1.0"?>
<GPS>
  <submenu after="File">
    <title>Puff_Tools</title>
    <menu action="execute my stats">
       <title>unit testing/stats</title>
    </menu>
    <menu action="execute my stats2">
       <title>unit testing/stats2</title>
    </menu>
  </submenu>
</GPS>

How can I make the sub-entries of Puff_Tools visible?

Regards,


Arjan



More information about the gps-users mailing list