You can simply do: my_text = my_button['text'] Tkinter allows you to access any option of a widget this way (height, width, text, etc.)
確定! 回上一頁