Activities/Turtle Art/Plugins: Difference between revisions

Line 281: Line 281:
that the icons should be the same size (55x55) as the others. (This is
that the icons should be the same size (55x55) as the others. (This is
the default icon size for Sugar toolbars.)
the default icon size for Sugar toolbars.)
As of Turtle Art v137, there is a built-in mechanism for installing plugins. Please include a plugin.info file in the top level of your tar.gz bundle.
plugin.info
myplugin
    myplugin.py
    __init.py__
    icons
      mypluginoff.svg
      mypluginon.svg
The plugin.info file must contain the following sections and fields:
[Plugin]
name=the name of your plugin
palette=the names of any palettes created by your plugin as a comma-separated list
e.g.,
[Plugin]
name=food
palette=eatme, food
Other fields, such as version, license, etc. may be used in the future.