def request_command(self):
     backend.request_insert(self.title_text.get(), self.author_text.get(),
                            self.year_text.get(), self.isbn_text.get())
     self.listbox.delete(0, END)
     self.listbox.insert(END,
                         (self.title_text.get(), self.author_text.get(),
                          self.year_text.get(), self.isbn_text.get()))
Exemple #2
0
 def request_command(self):  #requests for book
     backend.request_insert(self.entry_title.get(), self.entry_author.get(),
                            self.entry_year.get(), self.entry_isbn.get())
     self.listbox.delete(0, END)
     self.listbox.insert(END,
                         (self.entry_title.get(), self.entry_author.get(),
                          self.entry_year.get(), self.entry_isbn.get()))