Описание
Описание
Галерея
Карта
Номера
Удобства
Укажите даты поездки
Проверить наличие
# Don't update if nothing changed if current_text == self._current_value: return
root = tk.Tk() combobox = ttk.Combobox(root, values=[f"PRODi:04d" for i in range(5000)]) combobox.pack() root.mainloop()
def add_atlantis(self): new_list = self.combobox.completevalues + ["Atlantis"] self.combobox.set_completion_list(new_list) print("Added 'Atlantis' to master list")
Популярные туристические места в
# Don't update if nothing changed if current_text == self._current_value: return
root = tk.Tk() combobox = ttk.Combobox(root, values=[f"PRODi:04d" for i in range(5000)]) combobox.pack() root.mainloop()
def add_atlantis(self): new_list = self.combobox.completevalues + ["Atlantis"] self.combobox.set_completion_list(new_list) print("Added 'Atlantis' to master list")