<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Set a Layout Group</name>
    <id>org.inkscape.web.slicer.create_group</id>
    <dependency type="file" location="inx">webslicer_effect.py</dependency>
    <param name="tab" type="notebook">
        <page name="Options" gui-text="Options">
            <param name="html-id" type="string" gui-text="HTML id attribute:"></param>
            <param name="html-class" type="string" gui-text="HTML class attribute:"></param>
            <param name="width-unity" type="optiongroup" appearance="combo" gui-text="Width unit:">
            <option value="px">Pixel (fixed)</option>
            <option value="percent">Percent (relative to parent size)</option>
            <option value="undefined">Undefined (relative to non-floating content size)</option>
            </param>
            <param name="height-unity" type="optiongroup" appearance="combo" gui-text="Height unit:">
            <option value="px">Pixel (fixed)</option>
            <option value="percent">Percent (relative to parent size)</option>
            <option value="undefined">Undefined (relative to non-floating content size)</option>
            </param>
            <param name="bg-color" type="string" gui-text="Background color:"></param>
        </page>
        <page name="Help" gui-text="Help">
            <label>Layout Group is only about to help a better code generation (if you need it). To use this, you must to select some "Slicer rectangles" first.</label>
        </page>
    </param>
    <effect needs-live-preview="false">
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="Web">
                <submenu name="Slicer"/>
            </submenu>
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">webslicer_create_group.py</command>
    </script>
</inkscape-extension>
