samer ramy
samer ramy

Reputation: 21

Python/Tkinter writing from right to left (RTL) inside the text widget

-I am looking for a way to change the direction of writing from right to left in the text widget so that the user can write inside it in Arabic language, ie from right to left(RTL). I searched for this topic for several days, but unfortunately I did not find a real solution. Can you help me? -In the event that there is no solution, how can I make the first line in the text widget undeletable (restricting the backspace in the first line), just because I was able to fix the writing direction (RTL) by inserting a word or a free space in the first line, but once it is deleted, the text widget retrieves the default setting (LTR).

Upvotes: 2

Views: 483

Answers (0)

Related Questions