Return the current value of the configuration option option for the embedded window at index.
tkinter/Text.window_cget
Text.window_cget