[GRASS-dev] GRASS GIS Gui Refractoring

Rashad M mohammedrashadkm at gmail.com
Fri Apr 5 05:20:34 PDT 2013


Hi All,

Current wxGUI code is not in an API form. Its like an application written
on python, GRASS GIS and wxPython. This make things worse for people who
want to have a simple code which displays a raster/vector data.

First wxGUI should be library and g.gui works as an application of wxGUI
library.

If there is a gui library for GRASS, user doesnt need to copy code from
existing gui code and sometimes there are problems with SingleBigDisplay
and usage of self.parent.window.X.

A lot of refractoring has been done by Anna and Vaclav (GRASSInterface).

I would like to propose some more classes for wxGUI[1]

here is simple demo:

GMFrame 'connected to'
      LayerManagerFrame 'contains'
                      LayerManager (non-gui object)   'contains'
                               Map (non-gui object) 'contains'
                                      LayerList (non-gui object) 'contains'
                                             Layer(s) (Raster/Vector)



comments and suggestions welcome

[1]
https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/Refactoring/wxGUIAPIproposal
[2] https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/MapRendering


-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130405/1ba59383/attachment.html>


More information about the grass-dev mailing list