Martin Landa 10ffd735ab revert 64921:2 10 tahun lalu
..
animation 08be1c0a3a wxGUI/animation: fix speed dialog problem caused by granularity problem (day vs days), do not restrict the animation speed (merge from trunk, https://trac.osgeo.org/grass/changeset/64980) 10 tahun lalu
core b4a12229aa wxGUI/toolboxes: make tooboxes a little bit more independent from GUI (backport of https://trac.osgeo.org/grass/changeset/64677 and https://trac.osgeo.org/grass/changeset/64678, https://trac.osgeo.org/grass/ticket/2142, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
dbmgr 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
docs 1c0a764c94 Fix 'allows to' typo, replace with 'allows <word>ing' 10 tahun lalu
gcp 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
gmodeler 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
gui_core 10ffd735ab revert 64921:2 10 tahun lalu
iclass 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
icons 2bafbf74cf sphinx documentation: backported 60817, 61141 and following related to python sphinx documentation 10 tahun lalu
iscatt 1fb1ebe84e wxGUI: sync various small differences in trunk and release branch 10 tahun lalu
lmgr 10ffd735ab revert 64921:2 10 tahun lalu
location_wizard 158605b395 Fix to work with wxPython 3.0 10 tahun lalu
mapdisp 158605b395 Fix to work with wxPython 3.0 10 tahun lalu
mapswipe 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
mapwin 17c29392e6 wxGUI/profile: use SafeYield to prevent recursion error on Windows (merge from trunk, https://trac.osgeo.org/grass/changeset/64694) 10 tahun lalu
modules 158605b395 Fix to work with wxPython 3.0 10 tahun lalu
nviz 07ae70673f wxGUI/nviz: do not use progress bar on mac, causes recursion for unknown reason (merge from trunk, https://trac.osgeo.org/grass/changeset/64564) 10 tahun lalu
psmap 63f110e87b wxGUI/composer: catch error due to Ghostscript missing or not on path (merge from trunk, https://trac.osgeo.org/grass/changeset/64991) 10 tahun lalu
rlisetup 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
timeline 61abacd1bb wxGUI: import only after grass.script.parser() call g.gui.* (backport https://trac.osgeo.org/grass/changeset/64664 and https://trac.osgeo.org/grass/changeset/64674, https://trac.osgeo.org/grass/ticket/1819) 10 tahun lalu
tools 2bafbf74cf sphinx documentation: backported 60817, 61141 and following related to python sphinx documentation 10 tahun lalu
vdigit a7d8c65875 g.gui.vdigit manual: Added a paragraph on topological digitizing of polygons (+ some language corrections) (https://trac.osgeo.org/grass/changeset/64839) ; Wiki ref added 10 tahun lalu
vnet 85deedeb41 wx.vnet: render message fix 10 tahun lalu
web_services 229834eae6 sync element names with trunk (https://trac.osgeo.org/grass/ticket/2409) 10 tahun lalu
wxplot 158605b395 Fix to work with wxPython 3.0 10 tahun lalu
xml 66474a04b9 v.in.gps/v.out.gps moved to addons 10 tahun lalu
Makefile a69f86ba25 wxGUI: clean must remove *.pyc (trunk, https://trac.osgeo.org/grass/changeset/64324) 10 tahun lalu
README 4442360f3a updated requirements for PIL 11 tahun lalu
gis_set.py b032c510b5 wxGUI/start up: use normal StaticText instead of StaticTextWrap for error message since it causes emitting events continually on wxPython 3 (merge from trunk, https://trac.osgeo.org/grass/changeset/64571, https://trac.osgeo.org/grass/changeset/64572) 10 tahun lalu
gis_set_error.py 2bafbf74cf sphinx documentation: backported 60817, 61141 and following related to python sphinx documentation 10 tahun lalu
states.txt c730ae7e6f wxGUI major code reorganization 13 tahun lalu
wxgui.py 65ea89f8be wxGUI: update startup screen from trunk (https://trac.osgeo.org/grass/changeset/64345, https://trac.osgeo.org/grass/changeset/64405, https://trac.osgeo.org/grass/changeset/64407) 10 tahun lalu

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