<div dir="ltr">Hi All,<div><br></div><div>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. </div>
<div><br></div><div>First wxGUI should be library and g.gui works as an application of wxGUI library.</div><div><br></div><div>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.</div>
<div><br></div><div>A lot of refractoring has been done by Anna and Vaclav (GRASSInterface).</div><div><br></div><div>I would like to propose some more classes for wxGUI[1]</div><div><br></div><div>here is simple demo:</div>
<div><br></div><div>GMFrame 'connected to' </div><div> LayerManagerFrame 'contains'</div><div> LayerManager (non-gui object) 'contains'</div><div> Map (non-gui object) 'contains'</div>
<div> LayerList (non-gui object) 'contains'</div><div> Layer(s) (Raster/Vector)</div><div><br></div><div><br></div><div><br></div><div>
comments and suggestions welcome</div><div><br></div><div>[1] <a href="https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/Refactoring/wxGUIAPIproposal">https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/Refactoring/wxGUIAPIproposal</a></div>
<div>[2] <a href="https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/MapRendering">https://trac.osgeo.org/grass/wiki/wxGUIDevelopment/MapRendering</a></div><div><br></div><div><br></div><div>-- <br></div><div><div><font face="arial, helvetica, sans-serif">Regards,<br>
Rashad</font></div>
</div></div>