title: How can I align items in menu bar from right to left with using python 3 and tkinter module?
body: <p>I'm using python 3 and tkinter module for creating a GUI. I need to create a menu bar and align items on it from right to left (I want to use that with Persian language so I need to align my menu items from right to left), now I have used from this code but it didn't aligned file and edit items from right to left and they still align from left to right in the menubar. How can I deal with it?</p>
  
  <pre><code>from tkinter import *
  from tkinter import ttk
  
  root = Tk()
  root.title('Create Menu bar and items')
  root.geometry('300x300+100+50')
  root.option_add('*tearOff', False)
  menubar = Menu(root)
  root.config(menu = menubar)
  file = Menu(menubar)
  edit = Menu(menubar)
  menubar.add_cascade(menu = file, label = 'فایل',compound = RIGHT)
  menubar.add_cascade(menu = edit, label = 'ویرایش',compound = RIGHT)
  </code></pre>