Пример #1
0
 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
Пример #2
0
 def events(self):
     events = EventsDispatcher()
     self._on_changed = events.create_event("changed")
     return events
Пример #3
0
 def create_events(self):
     events = EventsDispatcher()
     self._on_changed = events.create_event("changed")
     return events
Пример #4
0
 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