Soeren Gebbert 45eb208e13 More usage of the tgis space time dataset API 12 lat temu
..
animation 45eb208e13 More usage of the tgis space time dataset API 12 lat temu
core d4cd822c37 wxGUI: refactoring tree structures (menu, search tree, extensions, query) 12 lat temu
dbmgr c8b2d73f9b wxGUI/dbmgr: fix layout for wx 2.9 12 lat temu
docs 04ad72e6a6 wxGUI: rename nviz and gcp html pages (follow naming conventions) 12 lat temu
gcp f3e153c48b wxGUI/gcp: fix various issues with wx 2.9 12 lat temu
gmodeler d4cd822c37 wxGUI: refactoring tree structures (menu, search tree, extensions, query) 12 lat temu
gui_core ea314a4050 wxGUI/psmap: show more useful message when preview fails 12 lat temu
iclass c18eee3ba3 dox: syntax errors 12 lat temu
icons 936e92b7d9 wxGUI: separate icons into several GUI modules 13 lat temu
lmgr e92990aba0 wxGUI: revert https://trac.osgeo.org/grass/changeset/55395, it breaks the GUI 12 lat temu
location_wizard 4942149813 wxGUI/startup: merge changes from release branch (https://trac.osgeo.org/grass/changeset/55185,r55278,r55297) 12 lat temu
mapdisp 29f9a3c06d wxGUI d.mon:fix of d.erase and managment of map layers 12 lat temu
mapswipe 93650a5b82 wxGUI/mapswipe: various fixes for wx 2.9 12 lat temu
modules 7f32aef2ea wxGUI: remove tabs (except of gui for v.clean) 12 lat temu
nviz 6857f9e90d wxGUI/wxNviz: fix preferences dialog 12 lat temu
psmap ea314a4050 wxGUI/psmap: show more useful message when preview fails 12 lat temu
rlisetup fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 lat temu
scripts d4cd822c37 wxGUI: refactoring tree structures (menu, search tree, extensions, query) 12 lat temu
tools 54d294ea23 wxGUI/menudata: rename menudata classes 12 lat temu
vdigit 7f32aef2ea wxGUI: remove tabs (except of gui for v.clean) 12 lat temu
vnet e3af077f6c wx.vnet: avoid creation of Panes with same name 12 lat temu
web_services c18eee3ba3 dox: syntax errors 12 lat temu
wxplot db53d65d5a wxGUI: move AddGrowableCol after adding items 12 lat temu
xml e735dd70c1 wxGUI menu: cosmetics (manage color rules interactively) 12 lat temu
Makefile d4cd822c37 wxGUI: refactoring tree structures (menu, search tree, extensions, query) 12 lat temu
README 4f9b2ee7e6 wxGUI: raise minimum version to 2.8.10.1 12 lat temu
create__init__.py c730ae7e6f wxGUI major code reorganization 13 lat temu
gis_set.py 4942149813 wxGUI/startup: merge changes from release branch (https://trac.osgeo.org/grass/changeset/55185,r55278,r55297) 12 lat temu
gis_set_error.py 2b99214f11 wxGUI: update doxygen docs 13 lat temu
states.txt c730ae7e6f wxGUI major code reorganization 13 lat temu
wxgui.py fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 lat temu
wxpythonlib.dox d4cd822c37 wxGUI: refactoring tree structures (menu, search tree, extensions, query) 12 lat temu

README

GRASS GIS - wxPython Graphical User Interface (wxGUI)
=====================================================

$Date$

1 - REQUIREMENTS

GRASS GIS >= 6.4
Python >= 2.4 (Python 3 not supported)
Python ElementTree (only for Python 2.4)
wxPython >= 2.8.10.1
NumPy >= 1.0.4


2 - STARTUP WITH GRASS INITIALIZATION

If you want to launch wxPython GUI automatically, start GRASS with
`-gui` parameter

$ grass70 -gui


3 - STARTUP FROM GRASS TERMINAL

Simply run

$ g.gui wxpython

from the GRASS terminal.

You can also specify workspace file to load on startup.

$ g.gui gui=wxpython workspace=myworkspace.gxw


4 - DEBUGGING

To enable GUI debug messages on given level set WX_DEBUG environment
variable, e.g.

$ g.gisenv set="WX_DEBUG=3"


5 - CLI BASED DISPLAY USAGE

Use command d.mon (shell script in gui/scripts directory) to start map
display:

GRASS> d.mon wx[0-6]

After a while, new window should appear. If this is your case, add some
raster layer to the map display:

GRASS> d.rast aspect

And try the vector layer too

GRASS> d.vect roads

You should be able to zoom && pan through the map, once the layers are
displayed. You should be also able to store the display content as well as
clear the display and start from scratch.


6 TRANSLATION HANDLING

Notes:
- Help part of menu entries is coming from the module descriptions
- The menu is maintained manually in xml/menudata.xml

Update of module description strings in xml/menudata.xml:
- in a GRASS session, run tools/update_menudata.py

From this (updated) xml/menudata.xml, the gettext strings are generated
via Makefile and stored into the file "menustrings.py".

When generating the po files in locale/po/ but locale/Makefile, all
.py files are parsed and the strings are stored in locale/po/grasswxpy_XX.po