Hi Paolo,

there is a some pieces of information in CookBook [0], but it
does not contains code samples. I will try to add them today.

All necessary methods one can find in QgisInterface class [1],
just search for "addPlugin*" and "removePlugin*". There are:
 - addPluginToMenu
 - addPluginToDatabaseMenu
 - addPluginToRasterMenu
 - addPluginToVectorMenu
 - addPluginToWebMenu
and corresponding remove* methods. Same with adding/removing
toolbar buttons.

Hope this helps

[0] http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins.html
[1] http://qgis.org/api/classQgisInterface.html

2014-07-24 8:58 GMT+03:00 Paolo Cavallini <[email protected]>:
> Hi all.
> Many plugin developers do not know how to move their plugin under the 
> appropriate
> menu: can someone point us to the relevant cookbook page, or other 
> instructions?
> All the best, and thanks.
> --
> Paolo Cavallini - www.faunalia.eu
> Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alexander Bruy
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to