How do the TreeStore and ListStore sequence APIs behave?
GtkTreeStore and GtkListStore implement the __getitem__/__setitem__ API. You pass in a tree path as a key and get a “row object” as the value. The row object basically combines a pointer to the tree model and a GtkTreeIter for the row. It in turn looks like a sequence — one item per column in the model. You can get and set columns in the row through this interface.