Skip to content
Advertisement

Tag: button

How to make a shape a button in Tkinter

Is there a way to make a shape a button in a tkinter canvas? Or, to put it simply, is there a way to figure out if the user clicked the rectangle drawn above? Answer I don’t know how to see if someone clicks the rectangle but you could have the color change if a cursor hovers over it… I’m

Change the value of a variable with a button (Tkinter)

I want to change the value of a variable just with a button, i don’t want to create a new entire function just like that: How i can do that? (I need to do that for six buttons, making six functions it’s not an option) Answer i need to make this for 6 buttons… If each button modifies the same

Advertisement