(self)
| 152 | """Model holds information to be displayed in the tree view""" |
| 153 | |
| 154 | def __init__(self): |
| 155 | self.tree_store = Gtk.TreeStore( |
| 156 | GObject.TYPE_STRING, GObject.TYPE_BOOLEAN, GObject.TYPE_PYOBJECT, GObject.TYPE_STRING, GObject.TYPE_STRING) |
| 157 | if not self.tree_store: |
| 158 | raise Exception("cannot create tree store") |
| 159 | self.row_changed_handler_id = None |
| 160 | self.refresh_rows() |
| 161 | self.tree_store.set_sort_func(3, self.sort_func) |
| 162 | self.tree_store.set_sort_column_id(3, Gtk.SortType.ASCENDING) |
| 163 | |
| 164 | def get_model(self): |
| 165 | """Return the tree store""" |
nothing calls this directly
no test coverage detected