Event handler for when a row changes
(self, __treemodel, path, __iter)
| 166 | return self.tree_store |
| 167 | |
| 168 | def on_row_changed(self, __treemodel, path, __iter): |
| 169 | """Event handler for when a row changes""" |
| 170 | parent = self.tree_store[path[0]][2] |
| 171 | child = None |
| 172 | if len(path) == 2: |
| 173 | child = self.tree_store[path][2] |
| 174 | value = self.tree_store[path][1] |
| 175 | options.set_tree(parent, child, value) |
| 176 | |
| 177 | def refresh_rows(self): |
| 178 | """Clear rows (cleaners) and add them fresh""" |