Return the width of the widget in pixels. When a window is first created its width is 1 pixel; it is eventually changed by a geometry manager. See also winfo_reqwidth().
tkinter/Misc.winfo_width
Misc.winfo_width