Пример #1
0
 def __hello__(self, listbox, row, column, event):
     self.statement.table = listbox.get_selected_data()[0]['table']
     table = self.statement.table
     tb = CList(table, name=table)
     rows = self.cmd.getall('*', table)
     cols = []
     if len(rows):
         cols = rows[0].keys()
     tb.set_rows(rows, cols)
     tb.set_usize(400,200)