Search code examples
pythonexceltkintertreeviewscrollbar

can i make the treeview of tkinter begins from the right side?


I'm new in python, I make a treeview in tkinter showing the data of workers with Arabic language saved in a sqlite file, and because the number of columns is 12 column, made a horizontal scrollbar, I need a help to make the scrollbar begins from right to left when showing the tkinter without moving it, like right to left direction (page layout) in excel.

scroll begins from the right like that


Solution

  • You can achive this by tree.xview_moveto(1).