1

I'm trying do a very simple task: Make a Button click in Tkinter.

I have an array of Buttons and, when I finish an event, I want to make a Button click event in one of my buttons.

I thought it should be as simple as buttons[2].click(), but that doesn't do anything.

1 Answer 1

3

Try calling .invoke() on the button

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, I know it was something simple :) For some reason, All my searches for "click" did not took me to the invoke option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.