#NEWLINE# def _bounds_for( self , row , col ) : #NEWLINE# #INDENT# ' Returns the coordinates and size of the specified cell in the form:\n            ( x, y, dx, dy ).\n        ' #NEWLINE# grid = self . editor . grid #NEWLINE# coords = wxg . GridCellCoords ( row , col ) #NEWLINE# ( x , y , dx , dy ) = grid . _grid . BlockToDeviceRect ( coords , coords ) #NEWLINE# ( x , y ) = grid . _grid_window . ClientToScreenXY ( x , y ) #NEWLINE# return ( x , y , dx , dy )