Answers for "tkinter get button text when clicked"

2

how to find the text inside button in tkinter

my_text = my_button.cget('text')
Posted by: Guest on March-21-2020
0

when button is clicked tkinter python

def someFunction:
    function body

tkWindow = Tk()

button = Button(tkWindow, command=someFunction)
Posted by: Guest on August-19-2020

Code answers related to "tkinter get button text when clicked"

Python Answers by Framework

Browse Popular Code Answers by Language