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