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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to