GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gmodeler/menudata.py
Go to the documentation of this file.
1 """!
2 @package gmodeler.menudata
3 
4 @brief wxGUI Graphical Modeler - menu data
5 
6 Classes:
7  - menudata::ModelerData
8 
9 (C) 2010-2011 by the GRASS Development Team
10 
11 This program is free software under the GNU General Public License
12 (>=v2). Read the file COPYING that comes with GRASS for details.
13 
14 @author Martin Landa <landa.martin gmail.com>
15 """
16 
17 import os
18 
19 from core import globalvar
20 from core.menudata import MenuData
21 
23  def __init__(self, filename = None):
24  if not filename:
25  gisbase = os.getenv('GISBASE')
26  filename = os.path.join(globalvar.ETCWXDIR, 'xml', 'menudata_modeler.xml')
27 
28  MenuData.__init__(self, filename)
Complex list for menu entries for wxGUI.
Abstract menu data class.