sel = list.nearest(event.y_root) list.selection_set(sel) # query db for info using the key sel