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):
267
267
boxes = [self ._cells [pos ].get_window_extent (self ._cachedRenderer )
268
268
for pos in self ._cells .iterkeys ()
269
269
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 )
272
271
return bbox .contains (mouseevent .x , mouseevent .y ), {}
273
272
else :
274
273
return False , {}
@@ -281,8 +280,7 @@ def get_children(self):
281
280
def get_window_extent (self , renderer ):
282
281
'Return the bounding box of the table in window coords'
283
282
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 )
286
284
287
285
def _do_cell_alignment (self ):
288
286
""" Calculate row heights and column widths.
You can’t perform that action at this time.
0 commit comments