def create_events(self): events = EventsDispatcher() self._no_more_entries = events.create_event("no-more-entries") self._on_changed = events.create_event("changed") #events.register("changed", self.on_search_changed) return events
def events(self): events = EventsDispatcher() self._on_changed = events.create_event("changed") return events
def create_events(self): events = EventsDispatcher() self._on_changed = events.create_event("changed") return events
def events(self): events = EventsDispatcher() self._no_more_entries = events.create_event("no-more-entries") self._on_changed = events.create_event("changed") events.register("changed", self.on_search_changed) return events