Markus Neteler f978f7d83e +g.gui.animation 12 years ago
..
animation fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
core 2b3c5e4811 wxGUI/giface: documentation, creating interface class for doc reasons, small fix of argument, ws changes 12 years ago
dbmgr 4b62f4ab3e wxGUI/dbmgr: fix updating existing attributes (encoding and casting issues) 12 years ago
docs f978f7d83e +g.gui.animation 12 years ago
gcp 28dbc8ea68 wxGUI: fully-featured support for web services (work in progress) 12 years ago
gmodeler fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
gui_core e9ad64f391 wxGUI: fix sizers (for wxpython 2.9 on Mac) 12 years ago
iclass fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
icons 936e92b7d9 wxGUI: separate icons into several GUI modules 13 years ago
lmgr 2b3c5e4811 wxGUI/giface: documentation, creating interface class for doc reasons, small fix of argument, ws changes 12 years ago
location_wizard df47c8dcff wxGUI: fix sizers (for wxpython 2.9 on Mac) 12 years ago
mapdisp ec0dc2970a wxGUI: fix moving overlays in d.mon 12 years ago
mapswipe fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
modules fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
nviz df47c8dcff wxGUI: fix sizers (for wxpython 2.9 on Mac) 12 years ago
psmap d75ec4a199 wxGUI: attempt to fix https://trac.osgeo.org/grass/ticket/1554 12 years ago
rlisetup fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
scripts 5b7094a6d6 add first version of rlisetup for wxpython 12 years ago
tools 54d294ea23 wxGUI/menudata: rename menudata classes 12 years ago
vdigit fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
vnet 06c80d5b70 wxGUI/vnet: update manual 12 years ago
web_services df3fd49752 wxGUI/web services: fix default buttons 12 years ago
wxplot 3ea93a89b9 wxGUI/mapdisp: using giface to initialize wxplot histogram (histogram works for d.mon); small improvements in histogram multiple raster handling 12 years ago
xml 28dbc8ea68 wxGUI: fully-featured support for web services (work in progress) 12 years ago
Makefile 28dbc8ea68 wxGUI: fully-featured support for web services (work in progress) 12 years ago
README ea11cda12c updated 13 years ago
create__init__.py c730ae7e6f wxGUI major code reorganization 13 years ago
gis_set.py fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
gis_set_error.py 2b99214f11 wxGUI: update doxygen docs 13 years ago
states.txt c730ae7e6f wxGUI major code reorganization 13 years ago
wxgui.py fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
wxpythonlib.dox 58a29b9284 wxGUI: refactor ElementDialog; include validator 12 years ago

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.1.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