What is true about the invocation of the cget () method?
A.
It can be used to read widget attributes.
B.
It has the same effect as the config () method.
C.
It can be used to set new values to widget attributes.
D.
It can be replaced with a dictionary-like access manner.
The Answer Is:
A
This question includes an explanation.
Explanation:
The cget() method in Python is used to read the configuration options of a widget in Tkinter. It retrieves the value of a specified configuration option for a Tkinter widget. Hence, option A is the correct answer.
PCPP-32-101 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 70% Discount on All Products,
Use Coupon: "coponace"