Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pushing Those Buttons - Example Missing parameter #27

Open
purple-piggy opened this issue Oct 31, 2024 · 1 comment
Open

Pushing Those Buttons - Example Missing parameter #27

purple-piggy opened this issue Oct 31, 2024 · 1 comment

Comments

@purple-piggy
Copy link

#In https://www.pythonguis.com/tutorials/create-buttons-in-tkinter/

The first example under "Pushing Those Buttons" omits assigning the command to the vol_up Button.

The very next sentence is "The function volumeUp() is called whenever the vol_up button is clicked in the window."

which is only the case if you add the command parameter

vol_up = Button(root, text="+", command=volumeUp)

@lpozo
Copy link
Collaborator

lpozo commented Nov 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants