def __init__(self, name, doc, cycle): Action.__init__(self, name=name, doc=doc, filter=TYPE_FILTER, unshade=False) self.cycle = cycle
def __init__(self, name, doc, keep_active): Action.__init__(self, name=name, doc=doc, filter=TYPE_FILTER) self.args = ['window'] self.keep_active = keep_active self.__handler = ActiveChangedEventHandler(self) self.__from_win_id = 0