File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -267,8 +267,7 @@ def contains(self, mouseevent):
267267 boxes = [self ._cells [pos ].get_window_extent (self ._cachedRenderer )
268268 for pos in self ._cells .iterkeys ()
269269 if pos [0 ] >= 0 and pos [1 ] >= 0 ]
270- # FIXME bbox_all is not defined.
271- bbox = bbox_all (boxes )
270+ bbox = Bbox .union (boxes )
272271 return bbox .contains (mouseevent .x , mouseevent .y ), {}
273272 else :
274273 return False , {}
@@ -281,8 +280,7 @@ def get_children(self):
281280 def get_window_extent (self , renderer ):
282281 'Return the bounding box of the table in window coords'
283282 boxes = [c .get_window_extent (renderer ) for c in self ._cells ]
284- # FIXME bbox_all is not defined
285- return bbox_all (boxes )
283+ return Bbox .union (boxes )
286284
287285 def _do_cell_alignment (self ):
288286 """ Calculate row heights and column widths.
You can’t perform that action at this time.
0 commit comments