I\'m using Python and Tkinter, and I need to know the current dimensions (width, height) of a widget.
I\'ve tried somewidget[\"width\"]
somewidget[\"width\"]
Use somewidget.winfo_width() and somewidget.winfo_height() to get the actual widget size, the somewidget['width'] property is only a hint given to the geometry manager.
somewidget.winfo_width()
somewidget.winfo_height()
somewidget['width']