Anna Petrášová 6ec82e1793 wxGUI: continue replacing events (moduleSelected), disable currently unused wxGdalSelect event 12 jaren geleden
..
animation ca058608d5 wxGUI: replace events by signals in opacity dialog and multiple maps dialog 12 jaren geleden
core 94b4f929a8 wxGUI: replacing wx events by pydispatcher signals, first steps (co-author: annakrat) 12 jaren geleden
dbmgr abfaedcd3a wxGUI/dbmgr: fix indentation 12 jaren geleden
docs dd0d83222c new Wiki URL 12 jaren geleden
gcp db53d65d5a wxGUI: move AddGrowableCol after adding items 12 jaren geleden
gmodeler 6ec82e1793 wxGUI: continue replacing events (moduleSelected), disable currently unused wxGdalSelect event 12 jaren geleden
gui_core 6ec82e1793 wxGUI: continue replacing events (moduleSelected), disable currently unused wxGdalSelect event 12 jaren geleden
iclass ca058608d5 wxGUI: replace events by signals in opacity dialog and multiple maps dialog 12 jaren geleden
icons 936e92b7d9 wxGUI: separate icons into several GUI modules 13 jaren geleden
lmgr 19eeae6d3c wxGUI: continue replacing events 12 jaren geleden
location_wizard 4942149813 wxGUI/startup: merge changes from release branch (https://trac.osgeo.org/grass/changeset/55185,r55278,r55297) 12 jaren geleden
mapdisp c6aaf2e9ef wxGUI: remove redundant import 12 jaren geleden
mapswipe c873cd2c7c wxGUI: change event by signal (EVT_AUTO_RENDER) 12 jaren geleden
modules 6ec82e1793 wxGUI: continue replacing events (moduleSelected), disable currently unused wxGdalSelect event 12 jaren geleden
nviz db53d65d5a wxGUI: move AddGrowableCol after adding items 12 jaren geleden
psmap 2b132c545b wxGUI/composer: fix multiline lables on Windows 12 jaren geleden
rlisetup fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 jaren geleden
scripts c658c212ca wxGUI/vkrige: fix attribute name 12 jaren geleden
tools 54d294ea23 wxGUI/menudata: rename menudata classes 12 jaren geleden
vdigit dd0d83222c new Wiki URL 12 jaren geleden
vnet e3af077f6c wx.vnet: avoid creation of Panes with same name 12 jaren geleden
web_services 7572632243 wxGUI: continue replacing events (capParsed) 12 jaren geleden
wxplot db53d65d5a wxGUI: move AddGrowableCol after adding items 12 jaren geleden
xml 62971aca36 i.segment menu in gui: imagery>classification> (last one) 12 jaren geleden
Makefile 28dbc8ea68 wxGUI: fully-featured support for web services (work in progress) 12 jaren geleden
README ea11cda12c updated 13 jaren geleden
create__init__.py c730ae7e6f wxGUI major code reorganization 13 jaren geleden
gis_set.py 4942149813 wxGUI/startup: merge changes from release branch (https://trac.osgeo.org/grass/changeset/55185,r55278,r55297) 12 jaren geleden
gis_set_error.py 2b99214f11 wxGUI: update doxygen docs 13 jaren geleden
states.txt c730ae7e6f wxGUI major code reorganization 13 jaren geleden
wxgui.py fc0ae66265 wxGUI: ensure compatibility with wxPython 2.9 12 jaren geleden
wxpythonlib.dox 58a29b9284 wxGUI: refactor ElementDialog; include validator 12 jaren geleden

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