identifyGrob: return names of clicked grid-objects.
Description
This identifies which grobs (grid objects) were clicked
on (or otherwise identified by pixel coordinates), and returns their
names. The names can be used by other grid functions, like
grid.edit or grid.remove.
if given, a list with components x and y, being pixel coordinates in
the current plot device.
classes
if given, one or more class names of grobs. This can be used to
filter the results to only specified types of objects.
Examples: "text", "lines", "segments", "rect".