Hi, 2011/8/8 Wenzeslaus <[email protected]>:
[...] > I have general note to this. Maybe it is common problem that someone > want to get current Map Display. So some simple getter function should > be introduced: > > class GMFrame(wx.Frame): > # ... > def GetCurrentMapDisplay(): > """!Returns current Map Display window""" > return self.parent.curr_page.maptree.mapdisplay probably yes, anyway you can write GetLayerTree().GetMapDisplay() Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
