tk/winfo fpixels

(tk/winfo 'fpixels #<widget> number)
Returns a floating-point value giving the number of pixels in #<widget> corresponding to the distance given by number. Number may be specified in any of the forms acceptable to Tk_GetScreenMM, such as ``2.0c'' or ``1i''. The return value may be fractional; for an integer value, use tk/winfo pixels.

© Author | Home | Sitemap