Mar-05-2020, 03:58 PM
Download John Shipman's tkinter manual here: http://reu.cct.lsu.edu/documents/Python_...kinter.pdf (a new home hopefully)
tkinter has not changed much (if at all) since this manual was written, so it's still a very viable reference.
Go to page 137 (ttk.Treeview) to get attribute details.
The size of your Treeview is limited by the size of it's container (widget).
When I write a tkinter application, I usually divide the root window into frames, one for each separate part of the overall application, one of those dedicated to a Treeview, Listview, or similar widget (if needed).
If you do this, then you can expand your Treeview to fill the entire frame, set stretch = True so it will expand when the main window expands.
I have an application (though quite old, Sept 2016) where I do this here.
tkinter has not changed much (if at all) since this manual was written, so it's still a very viable reference.
Go to page 137 (ttk.Treeview) to get attribute details.
The size of your Treeview is limited by the size of it's container (widget).
When I write a tkinter application, I usually divide the root window into frames, one for each separate part of the overall application, one of those dedicated to a Treeview, Listview, or similar widget (if needed).
If you do this, then you can expand your Treeview to fill the entire frame, set stretch = True so it will expand when the main window expands.
I have an application (though quite old, Sept 2016) where I do this here.