def disable(self, row=None, column=None): Container.disable(self) if row != None and column != None: if self._cells[column, row]: self._cells[column, row].disable() elif row != None: for mem in self._cells.row(row): if mem: mem.disable() elif column != None: for mem in self._cells.column(column): if mem: mem.disable() else: for mem in self._cells: if mem: mem.disable()
def disable(self): Container.disable(self) for mem in self.children: mem.disable()