def __fill_events_list(self, widget=None):
     self.__events_list.clear()
     self.__event_search_entry.set_text("")
     m_events = DBEvent(self.__cursor) 
     events = m_events.get_events()
     for event in events:
         self.__events_list.append((event["id"],event["name"]))
 def __fill_events_list(self, widget=None):
     self.__events_list.clear()
     self.__event_search_entry.set_text("")
     m_events = DBEvent(self.__cursor)
     events = m_events.get_events()
     for event in events:
         self.__events_list.append((event["id"], event["name"]))
 def __fill_events_list(self, widget=None, entry=None):
     self.__events_list.clear()
     if not entry == None:
         entry.set_text("")
     m_events = EventDB(self.__cursor) 
     events = m_events.get_events()
     for event in events:
         self.__events_list.append((event["id"],event["name"]))
예제 #4
0
 def __fill_events_list(self, widget=None, entry=None):
     self.__events_list.clear()
     if not entry == None:
         entry.set_text("")
     m_events = EventDB(self.__cursor)
     events = m_events.get_events()
     for event in events:
         self.__events_list.append((event["id"], event["name"]))
 def __search_event_cb(self, widget, entry):
     m_events = EventDB(self.__cursor)        
     events = m_events.search_by_name(entry.get_text())        
     self.__events_list.clear()
     for event in events:
         self.__events_list.append((event["id"],event["name"]))
예제 #6
0
 def __search_event_cb(self, widget, entry):
     m_events = EventDB(self.__cursor)
     events = m_events.search_by_name(entry.get_text())
     self.__events_list.clear()
     for event in events:
         self.__events_list.append((event["id"], event["name"]))