Contact Python Check Box

Asked 1 years ago, Updated 1 years ago, 324 views

There are 7 check boxes, but if the user randomly checks 2 check boxes, the other 5 check boxes are not checked, so I want to deactivate them. I'm new to Python, so I can't connect the functions well. Is there a good way?

python

2022-10-04 01:00

1 Answers

When you vaguely say "Python," I wonder, "There's a check box somewhere in Python..." (probably tkinter...), but to give you a hint only about function logic you're asking:

You can roughly do it like this.
If you don't understand, try repeat an example from someone's JavaScript. (Not exactly the same development, but the basic ideas are roughly similar.)


2022-10-04 01:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.