【发布时间】:2020-05-24 20:16:39
【问题描述】:
button = Button(frame, text = "...", font = ('Courier', 14), command = lambda: principal_function(entry.get()))
button.place(relx = 0.7, relwidth = 0.3, relheight = 1)
label:
generalLabel = Label(lower_frame, text = '..', font = ("Courier", 22))
generalLabel.place(relwidth = 1, relheight = 1)`enter code here`
generalLabel.pack()
如果按下按钮,我想用新文本更新标签
【问题讨论】:
-
这个网站上有几十个类似的问题。在问这个问题之前你有没有做任何研究?如果您告诉我们您搜索的内容,也许我们可以优化其中一个重复项,以便更容易找到。