source: grass/trunk/gui/wxpython/README

Last change on this file was 73265, checked in by neteler, 6 years ago

Update all occurrences of -text, -gtext, -gui to --text, --gtext, --gui (trac #1665)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id
  • Property svn:mime-type set to text/plain
File size: 1.7 KB
Line 
1GRASS GIS - wxPython Graphical User Interface (wxGUI)
2=====================================================
3
4$Date: 2018-09-05 05:59:31 +0000 (Wed, 05 Sep 2018) $
5
61 - REQUIREMENTS
7
8 GRASS GIS >= 6.4
9 Python >= 2.4
10 Python ElementTree (only for Python 2.4)
11 wxPython >= 2.8.10.1
12 NumPy >= 1.0.4
13 PIL >= 1.1.7
14
15
162 - STARTUP WITH GRASS INITIALIZATION
17
18If you want to launch wxPython GUI automatically, start GRASS with
19`--gui` parameter
20
21$ grass77 --gui
22
23
243 - STARTUP FROM GRASS TERMINAL
25
26Simply run
27
28$ g.gui wxpython
29
30from the GRASS terminal.
31
32You can also specify workspace file to load on startup.
33
34$ g.gui gui=wxpython workspace=myworkspace.gxw
35
36
374 - DEBUGGING
38
39To enable GUI debug messages on given level set WX_DEBUG environment
40variable, e.g.
41
42$ g.gisenv set="WX_DEBUG=3"
43
44
455 - CLI BASED DISPLAY USAGE
46
47Use command d.mon (shell script in gui/scripts directory) to start map
48display:
49
50GRASS> d.mon wx[0-6]
51
52After a while, new window should appear. If this is your case, add some
53raster layer to the map display:
54
55GRASS> d.rast aspect
56
57And try the vector layer too
58
59GRASS> d.vect roads
60
61You should be able to zoom && pan through the map, once the layers are
62displayed. You should be also able to store the display content as well as
63clear the display and start from scratch.
64
65
666 TRANSLATION HANDLING
67
68Notes:
69- Help part of menu entries is coming from the module descriptions
70- The menu is maintained manually in xml/menudata.xml
71
72Update of module description strings in xml/menudata.xml:
73- in a GRASS session, run tools/update_menudata.py
74
75From this (updated) xml/menudata.xml, the gettext strings are generated
76via Makefile and stored into the file "menustrings.py".
77
78When generating the po files in locale/po/ but locale/Makefile, all
79.py files are parsed and the strings are stored in locale/po/grasswxpy_XX.po
Note: See TracBrowser for help on using the repository browser.