QuestionQ57

VerifiedGUI Programming

Which statement is true regarding calling the cget() method?

Choose two
Explanation

cget(key) returns the current value of the specified widget configuration option. The equivalent dictionary-style read is widget[key]; config()/configure() has broader query-and-modify behavior. ოფიციալ Python documentation: cget(key) returns a configuration value and widget[key] is equivalent.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!