Certified Professional in Python Programming (PCPP-32-101) — Question 20
What is true about the unbind_all() method? (Choose two.)
Answer options
- A. It can be invoked from any widget
- B. It can be invoked from the main window widget only
- C. It is parameterless
- D. It causes all the widgets to disappear
Correct answer: A, C
Explanation
The correct options are A and C because the unbind_all() method can indeed be invoked from any widget and it does not take any parameters. Options B and D are incorrect as it is not restricted to the main window widget, and it does not cause widgets to disappear; it merely unbinds events.