summaryrefslogtreecommitdiff
path: root/templates/object_commands.xml
blob: 6960de7fbc399b19481c9d976bb2124c0e3a5f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Attach Commands to Selected Objects</name>
    <id>org.inkstitch.commands</id>
    {%- for command, description in object_commands -%}
    <param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
    {% endfor %}
    <param name="extension" type="string" gui-hidden="true">object_commands</param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Ink/Stitch">
                <submenu name="Commands" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>