[Tkinter-discuss] When to use a Canvas vs. a Frame from a container perspective?

python at bdurham.com python at bdurham.com
Fri Dec 17 22:07:48 CET 2010


> However I agree, it's better to use create_window() to avoid pitfalls like this.

1. So the proper way to use Canvases as containers for traditional
widgets is to manually handle layout and place all widgets via the
create_window() method.

2. The only reason to use a Canvas as a container for traditional
widgets is when you need a scrollable container.

Are those points accurate?


More information about the Tkinter-discuss mailing list