Štěpán Turek fd7541faa7 wx.vnet: add vector map button works also for d.mon, post gUpdateMap event instead of calling UpdateMap map method 12 years ago
..
animation fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
core c1dc4bc28b gconsole: Only creation and sending of event belongs to condition. 12 years ago
dbmgr dd0d83222c new Wiki URL 12 years ago
docs dd0d83222c new Wiki URL 12 years ago
gcp db53d65d5a wxGUI: move AddGrowableCol after adding items 12 years ago
gmodeler dd0d83222c new Wiki URL 12 years ago
gui_core bd7a6f8c21 wxGUI/forms: allow multiple colors 12 years ago
iclass 37fa8cc9fe g.gui.iclass: link other g.gui.* modules in the manual page 12 years ago
icons 936e92b7d9 wxGUI: separate icons into several GUI modules 13 years ago
lmgr 2e0a21bc9a wxGUI: small code cleanup 12 years ago
location_wizard df47c8dcff wxGUI: fix sizers (for wxpython 2.9 on Mac) 12 years ago
mapdisp bc3f797025 remove self from arguments in calling of UpdateMap method 12 years ago
mapswipe dd0d83222c new Wiki URL 12 years ago
modules c12ce8604e wxGUI: fix https://trac.osgeo.org/grass/ticket/1793 12 years ago
nviz db53d65d5a wxGUI: move AddGrowableCol after adding items 12 years ago
psmap 2b132c545b wxGUI/composer: fix multiline lables on Windows 12 years ago
rlisetup fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 years ago
scripts db53d65d5a wxGUI: move AddGrowableCol after adding items 12 years ago
tools 54d294ea23 wxGUI/menudata: rename menudata classes 12 years ago
vdigit dd0d83222c new Wiki URL 12 years ago
vnet fd7541faa7 wx.vnet: add vector map button works also for d.mon, post gUpdateMap event instead of calling UpdateMap map method 12 years ago
web_services db53d65d5a wxGUI: move AddGrowableCol after adding items 12 years ago
wxplot db53d65d5a wxGUI: move AddGrowableCol after adding items 12 years ago
xml e95f8b7f55 wxgui - adding v.outlier to menu 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