def on_row_actived(self, widget, path, column): dlg = EditLoanDlg(self, self.model, self.model.get_iter(path)) dlg.run()
def editloan(self, *args): (path, col) = self.view.get_cursor() dlg = EditLoanDlg(self, self.model, self.model.get_iter(path)) dlg.run()