/[ascend]/trunk/pygtk/canvas/blockcanvas.py
ViewVC logotype

Diff of /trunk/pygtk/canvas/blockcanvas.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1958 by jpye, Tue Nov 11 10:01:18 2008 UTC revision 1959 by jpye, Mon Nov 17 11:51:01 2008 UTC
# Line 39  class BlockCanvas(Canvas): Line 39  class BlockCanvas(Canvas):
39          dirty_matrix_items.update(super(BlockCanvas, self)._normalize(items))          dirty_matrix_items.update(super(BlockCanvas, self)._normalize(items))
40          return dirty_matrix_items          return dirty_matrix_items
41    
42        def reattach_ascend(self, library):
43            # FIXME still need a way of iterating through these items
44            items = []
45            for item in items:
46                if not hasattr(item, 'ports'):
47                    continue
48                if item.blocktype.type is None:
49                    item.blocktype.reattach_ascend(library)
50    
51    

Legend:
Removed from v.1958  
changed lines
  Added in v.1959

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22