Python_Institute
PCPP-32-101 · Question #69
Select the true statements about invoking a widget's callback manually. (Choose two.)
The correct answer is A. The callback can be invoked via the invoke() method. B. The callback is always possible, either directly or indirectly. The invoke() method allows calling the callback bound to a widget. In general, callbacks can be invoked either directly by calling the function or indirectly via methods like invoke().
Advanced OOP
Question
Select the true statements about invoking a widget's callback manually. (Choose two.)
Options
- AThe callback can be invoked via the invoke() method.
- BThe callback is always possible, either directly or indirectly.
- CThe callback cannot be invoked directly.
- DThe callback is never possible, neither directly nor indirectly.
How the community answered
(47 responses)- A94% (44)
- C4% (2)
- D2% (1)
Explanation
The invoke() method allows calling the callback bound to a widget. In general, callbacks can be invoked either directly by calling the function or indirectly via methods like invoke().
Topics
#tkinter#callbacks#invoke method#widget interaction
Community Discussion
No community discussion yet for this question.