Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
1327:ab281ec3eeec | 1328:407f321f0d7c |
---|---|
463 # | 463 # |
464 def add_component_from_group(self, comp_name, group): | 464 def add_component_from_group(self, comp_name, group): |
465 self.add_component(comp_name) | 465 self.add_component(comp_name) |
466 self._dom.mv_group_to_component(group, comp_name) | 466 self._dom.mv_group_to_component(group, comp_name) |
467 pass | 467 pass |
468 | |
469 def link_to_component(self, comp_name, parent_group): | |
470 link_node = self._dom.link_to_component(comp_name, parent_group) | |
471 return link_node | |
468 pass | 472 pass |
469 | 473 |
470 | 474 |
471 ## \brief Bridge of DOM-tree to syncrhonize data-model and UI. | 475 ## \brief Bridge of DOM-tree to syncrhonize data-model and UI. |
472 # | 476 # |