11.8. Working with selections

There are also methods available that let us force the (un)selection of a row. These are
 
clist.select_row(row, column)
clist.unselect_row(row, column)

And also a method that will take x and y coordinates (for example, read from the mousepointer), and map that onto the list, returning the corresponding row and column.
 
row, column = clist.get_selection_info(x, y)

When we detect something of interest (it might be movement of the pointer, a click somewhere in the list) we can read the pointer coordinates and find out where in the list the pointer is. Cumbersome? Luckily, there is a simpler way...