MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / on_row_changed

Method on_row_changed

bleachbit/GuiTreeModels.py:168–175  ·  view source on GitHub ↗

Event handler for when a row changes

(self, __treemodel, path, __iter)

Source from the content-addressed store, hash-verified

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"""

Callers

nothing calls this directly

Calls 1

set_treeMethod · 0.80

Tested by

no test coverage detected