Return the current value of the configuration option named key for this widget, as a string. The expression widget[key] is equivalent and may be used instead.
tkinter/Misc.cget
Misc.cget