diff pyink/domview_ui.py @ 1328:407f321f0d7c

Add a svg:use after transform a group to a component
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 31 Jan 2011 12:47:49 +0800
parents ffbbd3aa218d
children 5da64f67d00d
line wrap: on
line diff
--- a/pyink/domview_ui.py	Sun Jan 30 23:04:06 2011 +0800
+++ b/pyink/domview_ui.py	Mon Jan 31 12:47:49 2011 +0800
@@ -465,6 +465,10 @@
         self.add_component(comp_name)
         self._dom.mv_group_to_component(group, comp_name)
         pass
+
+    def link_to_component(self, comp_name, parent_group):
+        link_node = self._dom.link_to_component(comp_name, parent_group)
+        return link_node
     pass