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

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