1
0
Fork 0
inkscape/share/extensions/web_transmit_att.inx
Daniel Baumann 02d935e272
Adding upstream version 1.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 23:40:13 +02:00

48 lines
2.7 KiB
XML

<?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>