def _on_dclick(self, index):

        index = self.model.mapToSource(index)
        column = self.columns[index.column()]
        obj = self.items()[index.row()]

        # Fire the same event on the editor after mapping it to a model object
        # and column name:
        self.dclick = (obj, column)

        # Invoke the column's double-click handler:
        column.on_dclick(obj)
Watch a project.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/table_editor.py/TableEditor._on_dclick--crossover with--dataset/ETHPy150Open ask/python-github2/github2/repositories.py/Repositories.watch