view inkscape/MB_assignSymbol.inx @ 1139:a2b068594412

Use pybind with new DOM API (at PYNode). - MBScene.document is a PYDocument instead of PYSPDocument. - MBScene.root is a PYNode isntead of PYSPItem. - getNext() was replaced by next(). - attribute() was replaced by getAttribute(). - getID() was removed, use setAttribute() instead. - MBScene.dom was removed, use MBScene.document.root() instead. - MBScene.nodeToItem was removed, use PYNode.spitem instead.
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 22 Dec 2010 13:27:37 +0800
parents 1d485bf96480
children
line wrap: on
line source

<inkscape-extension>
    <name>Convert to Symbol</name>
    <id>MadButterfly.ConvertSymbol</id>
	<dependency type="executable" location="extensions">AssignSymbol.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
    <effect>
		<object-type>group</object-type>
		<effects-menu>
			<submenu _name="MadButterfly"/>
		</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">AssignSymbol.py</command>
    </script>
</inkscape-extension>