[GRASS-dev] new `g.gui.` modules

Hi,

yesterday with Anna and Vaclav we added a new module `g.gui.mapswipe`
in G7 which allows to launch wxGUI Map Swipe as standalone
application. Today I did the same for Graphical Modeler. So currently
you can launch the Graphical Modeler also from CLI

g.gui.gmodeler

or

g.gui.gmodeler file=<file>.gmx

The manual page for g.gui.gmodeler and wxGUI.Modeler is generated from
the same file. Newly added rule [1] should be probably after some
modifications included in Html.make or so.

As the result all wxGUI components should be accessible from CLI as
`g.gui.*` commands.

Enjoy, Martin

[1] http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/mapswipe/Makefile#L12

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

Hi Martin,

On Fri, Nov 9, 2012 at 2:54 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

yesterday with Anna and Vaclav we added a new module `g.gui.mapswipe`
in G7 which allows to launch wxGUI Map Swipe as standalone
application. Today I did the same for Graphical Modeler. So currently
you can launch the Graphical Modeler also from CLI

...

cool!! But :slight_smile: to not have too many modules, how about

# already there:
g.gui gui=wxgui

# new parameter "module=":
g.gui module=mapswipe
g.gui module=gmodeler

Just a random thought,

Markus

On Fri, Nov 9, 2012 at 5:20 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Martin,

On Fri, Nov 9, 2012 at 2:54 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

yesterday with Anna and Vaclav we added a new module `g.gui.mapswipe`
in G7 which allows to launch wxGUI Map Swipe as standalone
application. Today I did the same for Graphical Modeler. So currently
you can launch the Graphical Modeler also from CLI

...

cool!! But :slight_smile: to not have too many modules, how about

# already there:
g.gui gui=wxgui

# new parameter "module=":
g.gui module=mapswipe
g.gui module=gmodeler

Just a random thought,

We have already thought about this solution, however each gui module
would have different parameters, that's why we separated the modules.

Anna

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hi Markus,

2012/11/9 Markus Neteler <neteler@osgeo.org>:

cool!! But :slight_smile: to not have too many modules, how about

right, unfortunately (as Anna already noted) these modules have
different options.

The number of (visible) modules could be controlled by the toolbox
concept suggested by Soeren in Prague [1].

Martin

[1] http://grass.osgeo.org/wiki/Toolboxes

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