Called whenever one or more rows have been selected, or some selected rows are unselected. It may also be called when the program selects a row that is already selected.
See get_selected() for an example.
Callback function