def _pressed(self, evt):
x, y, widget = evt.x, evt.y, evt.widget<EOL>item = widget.identify_row(y)<EOL>column = widget.identify_column(x)<EOL>if not column or not (item in self._items):<EOL><INDENT>return<EOL><DEDENT>item_values = widget.item(item)['<STR_LIT>']<EOL>if not len(item_values):  <EOL><INDENT>return<EOL><DEDENT>text = item_values[int(column[<NUM_LIT:1>]) - <NUM_LIT:1>]<EOL>if not text:  <EOL><INDENT>return<EOL><DEDENT>bbox = widget.bbox(item, column)<EOL>if not bbox:  <EOL><INDENT>return<EOL><DEDENT>text = '<STR_LIT>' % text<EOL>self._selection = (text, item, column)<EOL>self._show_selection(text, bbox)<EOL>if self.callback is not None:<EOL><INDENT>self.callback()<EOL><DEDENT>
Clicked somewhere in the calendar.