Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

gtklib: add method to clear all contents of LayoutTable

Changeset 5fcb9f341b78

Parent c84e4cb1f686

by Yuki KODAMA

Changes to one file · Browse files at 5fcb9f341b78 Showing diff from parent c84e4cb1f686 Diff from another changeset...

 
512
513
514
 
 
 
 
515
516
517
 
512
513
514
515
516
517
518
519
520
521
@@ -512,6 +512,10 @@
  return self.headers[0]   return None   + def clear_rows(self): + for child in self.table.get_children(): + self.table.remove(child) +   def add_row(self, *widgets, **kargs):   """   Append a new row to the table.