view inkscape/MB_EditButton.inx @ 1333:3cbc1ab15541

Implement the function to create a link to a component. - It creates a svg:use for a component in the component list. - The svg:use node is inserted into current layer.
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 31 Jan 2011 18:19:23 +0800
parents 1958bb2a87a2
children
line wrap: on
line source

<inkscape-extension>
    <name>Edit Button</name>
    <id>MadButterfly.EditButton</id>
	<dependency type="executable" location="extensions">MB_EditButton.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
    <effect>
		<object-type>any</object-type>
		<effects-menu>
			<submenu _name="MadButterfly">
				<submenu _name="Button"/>
			</submenu>
		</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">MB_EditButton.py</command>
    </script>
</inkscape-extension>