title: Is it possible to change the menu border color in tkinter
body: <p>I want to change the border color of the drop down menu items. </p>
  
  <p><a href="https://i.stack.imgur.com/dYXUK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dYXUK.png" alt="menu when dark theme"></a> white theme: <a href="https://i.stack.imgur.com/2SCri.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2SCri.png" alt="enter image description here"></a></p>
  
  <p>Using Python 3.7 and tkinter - my GUI app offer both dark and light themes, so I change the background and foreground colors dynamically. I was able to do it for most widgets, but I did not find a way to change the border color for the drop down menu items.</p>
  
  <p>Here's a sample snippet of how the <code>file_menu</code> is defined:</p>
  
  <pre><code>self.menubar = tk.Menu(self)
  self.file_menu = tk.Menu(self.menubar, tearoff=0)
  self.file_menu.add_command(label="New", image=self.mnu_16_new, compound = tk.LEFT, command=self.file_new, accelerator="Ctrl+N", underline=0)
  self.file_menu.add_command(label="Open", image=self.mnu_16_opn, compound = tk.LEFT, command=self.file_open, accelerator="Ctrl+O", underline=0)        
  </code></pre>
  
  <p>and here how I change the menu items colors (<code>self.all_menubars</code> is a list of all the menu items including the <code>file_menu</code> above)</p>
  
  <pre><code>for menu_item in self.all_menubars:
      menu_item.config(background=self.c_bg, foreground=self.c_fg, 
                       activebackground=self.c_sb, activeforeground=self.c_fg, 
                       selectcolor=self.c_fg, disabledforeground=sel_color)
  </code></pre>
  
  <p>while <code>self.c_fg</code>, <code>self.c_sb</code>, etc. are color variables. </p>