title: Tkinter - How can I change the separator style in a Menu Bar widget?
body: <p>below an example of a Menu Bar in Tkinter:</p>
  <pre><code>from tkinter import *
  
  parent = Tk()
  
  parent.option_add(&quot;*tearOff&quot;, False)
  MenuBar=Menu(parent)
  parent.config(menu=MenuBar)
  
  Edit=Menu(MenuBar)
  Help=Menu(MenuBar)
  MenuBar.add_cascade(menu=Edit, label=&quot;Edit&quot;)
  MenuBar.add_cascade(menu=Help, label=&quot;Help&quot;)
  Edit.add_command(label=&quot;Settings&quot;)
  Help.add_command(label=&quot;License&quot;)
  Help.add_separator()
  Help.add_command(label=&quot;Documentation&quot;)
  Help.add_command(label=&quot;About&quot;)
  
  parent.mainloop()
  </code></pre>
  <p>In the &quot;Help&quot; menu there is a separator, but I don't like its style. I would very like to change it in another one (see the image below):</p>
  <p><a href="https://i.stack.imgur.com/iVSEa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iVSEa.png" alt="enter image description here" /></a></p>
  <p>how can I replicate the separator style used in the second window on the right side?</p>