diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
commit | 35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch) | |
tree | 657d15a03cc46bd099fc2c6546a7a4ad43815d9f /share/extensions/web_transmit_att.inx | |
parent | Initial commit. (diff) | |
download | inkscape-upstream.tar.xz inkscape-upstream.zip |
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/web_transmit_att.inx')
-rw-r--r-- | share/extensions/web_transmit_att.inx | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/share/extensions/web_transmit_att.inx b/share/extensions/web_transmit_att.inx new file mode 100644 index 0000000..3eeef48 --- /dev/null +++ b/share/extensions/web_transmit_att.inx @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Transmit Attributes</name> + <id>org.inkscape.web.transmit_attribute</id> + <param name="tab" type="notebook"> + <page name="Options" gui-text="Options"> + <param name="att" type="string" gui-text="Attribute to transmit:">fill</param> + <param name="when" type="optiongroup" appearance="combo" gui-text="When to transmit:"> + <option value="onclick">on click</option> + <option value="onfocusin">on focus</option> + <option value="onfocusout">on blur</option> + <option value="onactivate">on activate</option> + <option value="onmousedown">on mouse down</option> + <option value="onmouseup">on mouse up</option> + <option value="onmouseover">on mouse over</option> + <option value="onmousemove">on mouse move</option> + <option value="onmouseout">on mouse out</option> + <option value="onload">on element loaded</option> + </param> + <param name="compatibility" type="optiongroup" appearance="combo" gui-text="Compatibility with previews code to this event:"> + <option value="append">Run it after</option> + <option value="prepend">Run it before</option> + <option value="replace">Replace</option> + </param> + <label>The next parameter is useful when you select more than two elements</label> + <param name="from-and-to" type="optiongroup" appearance="combo" gui-text="Source and destination of transmitting:"> + <option value="g-to-one">All selected ones transmit to the last one</option> + <option value="one-to-g">The first selected transmits to all others</option> + </param> + </page> + <page name="Help" gui-text="Help"> + <label>This effect adds a feature visible (or usable) only on a SVG enabled web browser (like Firefox).</label> + <label>This effect transmits one or more attributes from the first selected element to the second when an event occurs.</label> + <label>If you want to transmit more than one attribute, you should separate this with a space, and only with a space.</label> + </page> + </param> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu name="Web"> + <submenu name="JavaScript"/> + </submenu> + </effects-menu> + </effect> + <script> + <command location="inx" interpreter="python">web_transmit_att.py</command> + </script> +</inkscape-extension> |