tk/winfo pixels

(tk/winfo 'pixels #<widget> number)
Returns 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_GetPixels, such as ``2.0c'' or ``1i''. The result is rounded to the nearest integer value; for a fractional result, use tk/winfo fpixels.

© Author | Home | Sitemap