Return the number of pixels in the widget corresponding to the screen distance number (for example, "2.0c" or "1i"). The result is rounded to the nearest integer; for a fractional result use winfo_fpixels().
tkinter/Misc.winfo_pixels
Misc.winfo_pixels