[GRASS-dev] Python and WX Workspace

Martin Landa landa.martin at gmail.com
Sat Jun 13 18:31:34 EDT 2009


Hi,

2009/6/14 Martin Landa <landa.martin at gmail.com>:
>> i'm now tring to see if it is possible to retrieve from python, the list of
>> layers loaded in the workspace,
>> do you know if is it possible ?
>
> it's possible, see
>
> http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/workspace.py#L146

or better

http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/gui_modules/workspace.py#L670

M.

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list