一个窗口中的tkinter simpledialog

时间:2019-06-07 10:00:41

标签: tkinter simpledialog

我想在一个窗口中有几个问题,但是对于每个问题,GUI都会打开一个单独的窗口。

application_window = tk.Tk()
application_window.title("Waermepumpenoptimierung im thermischen Verbund")
Folder = simpledialog.askstring("Input", "Bitte bennen Sie den Testlauf: ", parent=application_window)
c_el_t = simpledialog.askstring("Input", "Elektrischer Strompreis in €/kWh: ", parent=application_window)
c_H_t = simpledialog.askstring("Input", "Preis für Waerme in €/kWh: ", parent=application_window)
c_C_t = simpledialog.askstring("Input", "Preis für Kaelte in €/kWh: ", parent=application_window)

我想答案很简单。保存用户的答案很重要。

0 个答案:

没有答案