Saturday, 5 March 2022

TK python checkbutton RTL

I have a checkbutton:

from tkinter import *
master = Tk()
Checkbutton(master, text="Here...").grid(row=0, sticky=W)
mainloop()

Which looks like this:

enter image description here

I tried to move the checkbutton to the other side (to support RTL languages), so it'll be like:

Here...[]

I know that I can draw a label next to the checkbutton, but this way clicking the text won't effect the checkbutton.

How can I do it?



from TK python checkbutton RTL

No comments:

Post a Comment