Ill show you how to change the position of a headers image in a tkinter treeview widget.
Its possible to change the alignment of the headers image to: left top bottom right using Ttk styles.
tkinter python3 pythongui treeview pythonguitutorial
0:00 Intro
0:55 Demo application
1:18 Create treeview widget
2:08 Create columns
3:11 Create headers with text
4:31 Show image in header
6:31 Demo app with header image
6:58 Define ttk style
9:02 Treeview style documentation
11:29 Style layout
13:37 Run demo app to see changes
14:14 Closure
The documentation website for treeview styles:
Источник: rutube.ru