11.7. Storing data pointers

With a CList it is possible to associate data with a row. This data will not be visible to the user, but is merely a convenience for the programmer.

The methods should be fairly self-explanatory by now.
 
clist.set_row_data(row, data)

clist.set_row_data_full(row, data, destroy)

data = clist.get_row_data(row)

row = clist.find_row_from_data(data)

destroy is a callback that will be called when the row is destroyed.