tk/winfo height

(tk/winfo 'height #<widget>)
Returns a decimal string giving #<widget>'s height in pixels. When a window is first created its height will be 1 pixel; the height will eventually be changed by a geometry manager to fulfill the window's needs. If you need the true height immediately after creating a widget, invoke update to force the geometry manager to arrange it, or use (tk/winfo 'reqheight ...) to get the #<widget>'s requested height instead of its actual height.

© Author | Home | Sitemap