[GRASS-SVN] r42752 - grass/trunk/gui/wxpython/xml
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 9 20:01:24 EDT 2010
Author: hamish
Date: 2010-07-10 00:01:24 +0000 (Sat, 10 Jul 2010)
New Revision: 42752
Added:
grass/trunk/gui/wxpython/xml/menudata.README
Log:
explain menudata.xml
Added: grass/trunk/gui/wxpython/xml/menudata.README
===================================================================
--- grass/trunk/gui/wxpython/xml/menudata.README (rev 0)
+++ grass/trunk/gui/wxpython/xml/menudata.README 2010-07-10 00:01:24 UTC (rev 42752)
@@ -0,0 +1,30 @@
+menudata.xml is in part maintained by this script:
+ gui/wxpython/support/update_menudata.py
+
+which updates the description and keywords (based on module's
+module->label or module->description, module->keywords), and is in
+part maintained by editing the file directly.
+
+Other items (menu structure, menu item label descriptions) are
+untouched by the update_menudata.py script and should be edited
+in the menudata.xml file directly.
+
+
+menuitem breakdown:
+
+<command> The name of the executable. e.g. "r.info".
+
+<label> The menu short description. [maintained in this file]
+
+<handler> The python function that handles the command.
+ e.g.OnMenuCmd, OnXTerm, OnXTermNoXMon, many others..
+
+<help> automatically populated by update_menudata.py from
+ the <command> module's module->description (or if
+ it exists, module->label). [do not edit]
+
+<keywords> automatically populated by update_menudata.py from
+ the <command> module's module->keywords. [do not edit]
+ (G_add_keyword() in GRASS 7+)
+
+
More information about the grass-commit
mailing list