[GRASS-SVN] r57449 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 13 02:49:29 PDT 2013
Author: martinl
Date: 2013-08-13 02:49:29 -0700 (Tue, 13 Aug 2013)
New Revision: 57449
Modified:
grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: add MapLayer.IsHidden()
Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py 2013-08-13 09:48:14 UTC (rev 57448)
+++ grass/trunk/gui/wxpython/core/render.py 2013-08-13 09:49:29 UTC (rev 57449)
@@ -253,6 +253,10 @@
def IsActive(self):
"""!Check if layer is activated for rendering"""
return self.active
+
+ def IsHidden(self):
+ """!Check if layer is hidden"""
+ return self.hidden
def SetType(self, ltype):
"""!Set layer type"""
@@ -1403,6 +1407,3 @@
self.updateProgress.emit(range=self.progressInfo['range'],
value=self.progressInfo['progresVal'],
text=stText)
-
-
-
\ No newline at end of file
More information about the grass-commit
mailing list