Return the width of the virtual root window associated with the widget if there is one; otherwise return the width of the widget’s screen.
tkinter/Misc.winfo_vrootwidth
Misc.winfo_vrootwidth