Exemplo n.º 1
0
 def View_command(self):
     self.list1.delete(0, tk.END)
     final_list = []
     for num in self.Id:
         if num not in final_list:
             final_list.append(num)
     if len(final_list) == 0:
         self.list1.insert(tk.END, "No Face Found")
     else:
         for i in final_list:
             row = backend.Search(int(i))
             self.list1.insert(tk.END, row)
Exemplo n.º 2
0
def search_command():
    list1.delete(0, END)
    for row in backend.Search(title_text.get(), auther_text.get(),
                              year_text.get(), ISBN_text.get()):
        list1.insert(END, row)
Exemplo n.º 3
0
def search_entry():
    listbox.delete(0, END)
    for row in backend.Search(title.get(), author.get(), year.get(),
                              isbn.get()):
        listbox.insert(END, row)