title: Tkinter Title Bar options
body: <p>Is there a way in Tkinter that I can edit the title bar and options such as background colors, foreground colors, title bar size. Here is my code for a class I am working on and I was looking for ways to make the title bar match the frame.</p>
  <pre><code>#CreateFile
  from Tkinter import *
  
  class CreateFile(Tk):
      def __init__(self, model):
          self.model=model
          myfont = (&quot;Arial&quot;, 11, &quot;bold&quot;)
          Tk.__init__(self)
          self.title('Create New File')
          
          self.resizable(0,0)
          frame = Frame(self,bg='black')
          self.lbl=Label(frame,text='Name: ',bg='black',fg='yellow')
          self.lbl.grid(row=0,column=0)
          self.file_entry=Entry(frame,width=30,font=myfont,bg='black',fg='yellow')
          self.file_entry.bind('&lt;Control-a&gt;',self.select_all)
          self.file_entry.grid(row=0,column=1)
          self.create_btn=Button(frame,text='Create',bg='black',fg='yellow')
          self.create_btn.grid(row=0,column=2,padx=10)    
          frame.grid()
          self.mainloop()
      
      def select_all(self,event):
          print 'd'
          
  model=None
  createFile = CreateFile(model)
  </code></pre>