def __init__(self): GridCellBaseEditor.__init__(self) # If ESC is pressed, EndEdit will be called and get_value() will return an empty string # but we want the original value instead of empty string # I don't know how to correct this behavior, so I just hooked ESC key event. self._canceled = False
def __init__(self, dialog_class=None): """ Args: dialog_class: the Class object of dialog. use EditorDialog by default. """ GridCellBaseEditor.__init__(self) if dialog_class is None: dialog_class = EditorDialog self.dialog_class = dialog_class self._grid = None self._row = None self._col = None self._ctrl = None self._dlg_ctx = None self._top_level_window = None
def __init__(self): GridCellBaseEditor.__init__(self)
def __init__(self): GridCellBaseEditor.__init__(self) self._ctrl = None self._old_label = None