我只是试图运行最简单的程序以使其工作,但我不断得到一个黑色背景的窗口,其中没有任何内容。我试过改变背景颜色,但似乎没有任何效果?
from guizero import App, Text, TextBox, PushButton
app = App("Hello world", bg = "white")
welcome_message = Text(app, text="Welcome to my app", size=40, font="Times New Roman", color="white")
my_name = TextBox(app)
update_text = PushButton(app, command=say_my_name, text="Display my name")
app.display()