def evict(self):
for row in reversed(sorted(set(self.all_row_numbers()))):
self.grid.remove_row(row)
if hasattr(self.grid, 'on_row_change'):
self.grid.on_row_change()
top = self.grid.get_child_at(top=0, left=0)
if top and type(top) is Gtk.Separator:
top.hide()
评论列表
文章目录