web-transmit-att.inx revision 6b464dfa85f56bbe7e0ff053bcb709fe346a5e2c
<?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-att</id>
<dependency type="executable" location="extensions">web-transmit-att.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
<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="enum" _gui-text="When to transmit:">
<_item value="onclick">on click</_item>
<_item value="onfocusin">on focus</_item>
<_item value="onfocusout">on blur</_item>
<_item value="onactivate">on activate</_item>
<_item value="onmousedown">on mouse down</_item>
<_item value="onmouseup">on mouse up</_item>
<_item value="onmouseover">on mouse over</_item>
<_item value="onmousemove">on mouse move</_item>
<_item value="onmouseout">on mouse out</_item>
<_item value="onload">on element loaded</_item>
</param>
<param name="compatibility" type="enum" _gui-text="Compatibility with previews code to this event:">
<_item value="append">Run it after</_item>
<_item value="prepend">Run it before</_item>
<_item value="replace">Replace</_item>
</param>
<_param name="help" type="description">The next parameter is useful when you select more than two elements</_param>
<param name="from-and-to" type="enum" _gui-text="Source and destination of transmitting:">
<_item value="g-to-one">All selected ones transmit to the last one</_item>
<_item value="one-to-g">The first selected transmits to all others</_item>
</param>
</page>
<page name="Help" _gui-text="Help">
<_param name="intro" type="description">This effect adds a feature visible (or usable) only on a SVG enabled web browser (like Firefox).</_param>
<_param name="desc1" type="description">This effect transmits one or more attributes from the first selected element to the second when an event occurs.</_param>
<_param name="desc2" type="description">If you want to transmit more than one attribute, you should separate this with a space, and only with a space.</_param>
</page>
</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu _name="Web">
<submenu name="JavaScript"/>
</submenu>
</effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">web-transmit-att.py</command>
</script>
</inkscape-extension>