Changeset 1865
- Timestamp:
- 08/07/07 12:26:26 (1 year ago)
- Files:
-
- gaphas/trunk/gaphas/view.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gaphas/trunk/gaphas/view.py
r1864 r1865 271 271 """ 272 272 return self._qtree.get_bounds(item) 273 274 275 def get_canvas_size(self):276 """277 The canvas size (width, height) in view coordinates, determined278 from the origin (0, 0).279 """280 x, y, w, h = self._qtree.soft_bounds281 return w, h282 273 283 274 … … 505 496 if not allocation: 506 497 allocation = self.allocation 507 w, h = self.get_canvas_size()498 x, y, w, h = self.bounding_box 508 499 self._update_adjustment(self._hadjustment, 509 500 value = self._hadjustment.value,
