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

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