title: Setting Tkinter/ttk Frame background color
body: <p>I'm trying to change the background color of a ttk frame and I've looked up other examples, but none have seemed to work. This is my code so far:</p>
  
  <pre><code>from Tkinter import *
  import ttk
  
  p = Tk()
  
  p.geometry('600x350')
  p.configure(bg='#334353')
  
  gui_style = ttk.Style()
  gui_style.configure('My.TButton', foreground='#334353')
  gui_style.configure('My.TFrame', background='#334353')
  
  frame = ttk.Frame(p, style='My.TFrame')
  frame.grid(column=1, row=1)
  
  ttk.Button(frame, text='test', style='My.TButton').grid(column=0, row=0)
  ttk.Button(frame, text='Test 2', style='My.TButton').grid(column=3, row=3)
  
  p.mainloop()
  </code></pre>
  
  <p>The window has the background color that I want, but the frame still has the default gray background. Is there something i need to add differently? I want the entire window except for the buttons to be the color #334353. How do I do this?</p>
  
  <p>EDIT: I've attached what my window looks like. I don't want the gray. :/ (Note. I don't have enough rep to post images apparently, so here is a link to imgur with my current window: <a href="http://imgur.com/KyhbdMB" rel="nofollow">http://imgur.com/KyhbdMB</a></p>