Huidae Cho 74624f9333 Update old g.list/remove calls in modules 10 years ago
..
animation 74624f9333 Update old g.list/remove calls in modules 10 years ago
core 74624f9333 Update old g.list/remove calls in modules 10 years ago
dbmgr 3792894c6e wxGUI/dbmgr: attempt to fix unicode errors from https://trac.osgeo.org/grass/ticket/1681 (merge from trunk, https://trac.osgeo.org/grass/changeset/61897) 10 years ago
docs f4a32bd37a wxGUI manual: cosmetics 10 years ago
gcp dab95a127b g.gui.gcp: tell in msg which recification order is currently active 11 years ago
gmodeler 74624f9333 Update old g.list/remove calls in modules 10 years ago
gui_core 74624f9333 Update old g.list/remove calls in modules 10 years ago
iclass 74624f9333 Update old g.list/remove calls in modules 10 years ago
icons 7df99e8331 Python3 support: exception objects require 'as' keyword (compliant with Python >= 2.6) (trac https://trac.osgeo.org/grass/ticket/2288) 11 years ago
iscatt 74624f9333 Update old g.list/remove calls in modules 10 years ago
lmgr 42388b536b d.to.rast: new module for wxGUI and d.mon to save map display content as raster map (merge from trunk, https://trac.osgeo.org/grass/changeset/62281) 10 years ago
location_wizard 7df99e8331 Python3 support: exception objects require 'as' keyword (compliant with Python >= 2.6) (trac https://trac.osgeo.org/grass/ticket/2288) 11 years ago
mapdisp 42388b536b d.to.rast: new module for wxGUI and d.mon to save map display content as raster map (merge from trunk, https://trac.osgeo.org/grass/changeset/62281) 10 years ago
mapswipe 707ef0ac56 wxGUI/mapswipe: zoom only when there are layers, bug mentioned in https://trac.osgeo.org/grass/ticket/2315 (merge from trunk, https://trac.osgeo.org/grass/changeset/60757) 11 years ago
mapwin bdde045836 pythonlib: create new file utils not to clutter core with simple functions and move some of them from core and change all affected imports (merge from trunk, https://trac.osgeo.org/grass/changeset/61854) 10 years ago
modules be80d81841 wxGUI/extension: load data in different thread 10 years ago
nviz c021b9fb8f wxNviz: fix weird vector rendering on Mac in https://trac.osgeo.org/grass/ticket/2381 (merge from trunk, https://trac.osgeo.org/grass/changeset/61477) 10 years ago
psmap 8c11130faf wxGUI: workaround for not visible toolbars on Mac with wxPython 3 (merge from trunk, 60999) 11 years ago
rlisetup 74624f9333 Update old g.list/remove calls in modules 10 years ago
timeline 97a363b3fc g.gui.timeline: msg cosmetics 11 years ago
tools 7df99e8331 Python3 support: exception objects require 'as' keyword (compliant with Python >= 2.6) (trac https://trac.osgeo.org/grass/ticket/2288) 11 years ago
vdigit 3220904ad4 wxGUI/digitizer: fix selecting area tools (merge from trunk, https://trac.osgeo.org/grass/changeset/62122) 10 years ago
vnet 74624f9333 Update old g.list/remove calls in modules 10 years ago
web_services f749ca63c9 wxGUI/wms: backport https://trac.osgeo.org/grass/changeset/61306, https://trac.osgeo.org/grass/changeset/61485, https://trac.osgeo.org/grass/changeset/61486 from trunk, fixes for Mac and adding display region export 10 years ago
wxplot 1523d26058 r.profile: feet support (merge from trunk, https://trac.osgeo.org/grass/changeset/62035,r62046,r62060) 10 years ago
xml 74624f9333 Update old g.list/remove calls in modules 10 years ago
Makefile 3618eb3855 define GUIDIR 11 years ago
README 4442360f3a updated requirements for PIL 11 years ago
gis_set.py ba14e6fd0b wxGUI: add DB initialization before importing vector during creating new location (merge from trunk, https://trac.osgeo.org/grass/changeset/61815) 10 years ago
gis_set_error.py c9a3b560de wxGUI: use wx.App instead of wx.PySimpleApp to avoid deprecation warning in wxPython 3 11 years ago
states.txt c730ae7e6f wxGUI major code reorganization 13 years ago
wxgui.py f09f0a442a Add exceptions module in python library, commit backported: https://trac.osgeo.org/grass/changeset/61187, https://trac.osgeo.org/grass/changeset/61220, https://trac.osgeo.org/grass/changeset/61959, https://trac.osgeo.org/grass/changeset/62358 10 years ago
wxguitoolboxes.dox db86cdc4b5 wxGUI/toolboxes: reflecting the change in https://trac.osgeo.org/grass/changeset/57000 and noting the need for valid XML file 12 years ago
wxpythonlib.dox 07fa1792c6 wxGUI/toolboxes: documentation of initial version (co-author: annakrat) 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.10.1
NumPy >= 1.0.4
PIL >= 1.1.7


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