I'm using Tkinter, and I'm trying to change Text widget direction (when user type - it will be RTL) for languages such as Hebrew and Arabic.
How could I allow ctrl + shift
so text direction would change rtl & ltr?
Or there is another way to do it?
I have a work in progress example for you.
Here I create 2 labels based on a list. We can then change the format of the text with a method that will flip the text. I feel like it should switch back to LTR and anchor back to the left but that part is not working for some reason. I will continue to work on it but if someone knows why that is let me know.
Results:
Now with weights!