QuestionQ57Verified/GUI ProgrammingCopy linkReport a problemAsk AstroTutorSave questionWhich statement is true regarding calling the cget() method?Choose twoAIt can be used to read widget attributesBIt has the same effect as the config() methodCIt can be used to set new values to widget attributesDIt can be replaced with a dictionary-like access mannerShow AnswerAnswerExplanationcget(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 moretkinter — Python interface to Tcl/TkShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion