[GRASS-dev] Create Addons for GRASS gis

Is there a complete guide - example describing how to create an add-on/plugin for the GRASS gis?

I would like to extend the GUI with extra menus and toolbars providing extra functionality.

thank you

On 05/09/14 07:46, Manolis Mylonakis wrote:

Is there a complete guide - example describing how to create an
add-on/plugin for the GRASS gis?

I would like to extend the GUI with extra menus and toolbars providing
extra functionality.

I would recommend starting with writing Python scripts [1]. Check out an example script [2] or actually any script in grass7.

Concerning the customisation of the menu, see [3].

This should get you started.

Moritz

[1] http://grasswiki.osgeo.org/wiki/GRASS_and_Python
[2] http://trac.osgeo.org/grass/browser/grass/trunk/doc/gui/wxpython/example/
[3] http://grass.osgeo.org/grass70/manuals/wxGUI.toolboxes.html

Hi,

···

On Fri, Sep 5, 2014 at 1:46 AM, Manolis Mylonakis <mylonos@gmail.com> wrote:

Is there a complete guide - example describing how to create an add-on/plugin for the GRASS gis?

I would like to extend the GUI with extra menus and toolbars providing extra functionality.

thank you

maybe if you could tell us more what you would like to do, we could be more specific. Generally, it’s simple to write a Python module as Moritz suggests. GUI customization can be more complicated. There is a mechanism to customize menu but unfortunately not toolbars. So, when you create your own module, you can then add it to the menu. Then, you can also build your own GUI application based on the GUI components, but we don’t have yet a plugin system for GUI plugins. So let us know what do you need.

Anna


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