GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
psmap/menudata.py
Go to the documentation of this file.
1
"""!
2
@package ps.menudata
3
4
@brief wxPsMap - menu entries
5
6
Classes:
7
- menudata::PsMapData
8
9
(C) 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 Anna Kratochvilova <kratochanna gmail.com>
15
"""
16
17
import
os
18
19
from
core
import
globalvar
20
from
core.menudata
import
MenuData
21
22
class
PsMapData
(
MenuData
):
23
def
__init__
(self, path = None):
24
"""!Menu for Cartographic Composer (psmap.py)
25
26
@path path to XML to be read (None for menudata_psmap.xml)
27
"""
28
if
not
path:
29
gisbase = os.getenv(
'GISBASE'
)
30
global
etcwxdir
31
path = os.path.join(globalvar.ETCWXDIR,
'xml'
,
'menudata_psmap.xml'
)
32
33
MenuData.__init__(self, path)
core.menudata
Complex list for menu entries for wxGUI.
menudata.PsMapData
Definition:
psmap/menudata.py:22
menudata.PsMapData.__init__
def __init__
Menu for Cartographic Composer (psmap.py)
Definition:
psmap/menudata.py:23
menudata.MenuData
Abstract menu data class.
Definition:
core/menudata.py:44
gui
wxpython
psmap
menudata.py
Generated on Sat Jan 2 2016 01:46:49 for GRASS Programmer's Manual by
1.8.5