[GRASS-SVN] r47600 -
grass-addons/grass7/gui/wxpython/wx.stream/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 12 08:28:06 EDT 2011
Author: madi
Date: 2011-08-12 05:28:05 -0700 (Fri, 12 Aug 2011)
New Revision: 47600
Modified:
grass-addons/grass7/gui/wxpython/wx.stream/gui_modules/rstream_panelOne.py
Log:
tentative of rendering added
Modified: grass-addons/grass7/gui/wxpython/wx.stream/gui_modules/rstream_panelOne.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.stream/gui_modules/rstream_panelOne.py 2011-08-12 10:57:02 UTC (rev 47599)
+++ grass-addons/grass7/gui/wxpython/wx.stream/gui_modules/rstream_panelOne.py 2011-08-12 12:28:05 UTC (rev 47600)
@@ -10,6 +10,7 @@
Classes:
- SPD
+ - SPDCanvas
- TabPanelOne
(C) 2011 by Margherita Di Leo, and the GRASS Development Team
@@ -370,8 +371,20 @@
# get current Map Display
self.mapdisp = SPD(parent = self)
- self.spddisp = SPDCanvas(type = 'command', cmd = ['d.rast', 'map = self.r_elev']) # FIXME
+ SPDCanvas(type = 'command', cmd = ['d.rast', 'map = self.r_elev']).Render() # FIXME #
+
+ # Debug
+ print type(dir(SPDCanvas))
+ lista = []
+ lista.append(dir(SPDCanvas))
+
+ for i in dir(SPDCanvas):
+ print i
+
+
+
+
# Get position by panel on mouse click
@@ -391,7 +404,7 @@
"""!Calculates flow accumulation if it is missing, and runs stream extraction
"""
- radioval1 = self.cb1.GetValue()
+ #radioval1 = self.cb1.GetValue()
radioval2 = self.cb2.GetValue()
radioval3 = self.cb3.GetValue()
More information about the grass-commit
mailing list