Changeset 2319
- Timestamp:
- 06/05/08 00:35:08 (6 months ago)
- Files:
-
- gaphas/trunk/gaphas/item.py (modified) (3 diffs)
- gaphas/trunk/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/gaphas/item.py
r2266 r2319 132 132 - matrix: item's transformation matrix 133 133 - canvas: canvas, which owns an item 134 134 - constraints: list ofitem constraints, automatically registered 135 when the item is added to a canvas; may be extended in subclasses 136 135 137 Private: 136 138 137 139 - _canvas: canvas, which owns an item 138 140 - _handles: list of handles owned by an item 139 - _constraints: item's constraints140 141 - _matrix_i2c: item to canvas coordinates matrix 141 142 - _matrix_c2i: canvas to item coordinates matrix … … 181 182 doc="Canvas owning this item") 182 183 184 constraints = property(lambda s: s._constraints, 185 doc="Item constraints") 183 186 184 187 def setup_canvas(self): … … 307 310 308 311 # setup constraints 309 self. _constraints.extend([312 self.constraints.extend([ 310 313 eq(a=h_nw.y, b=h_ne.y), 311 314 eq(a=h_nw.x, b=h_sw.x), gaphas/trunk/setup.py
r2235 r2319 1 1 2 VERSION = '0.3. 6'2 VERSION = '0.3.7' 3 3 4 4 from ez_setup import use_setuptools
