title: Create new ttk widget from tkinter
body: <p>I'm actually trying to create <code>ttk.Spinbox</code> from <code>tkinter.Spinbox</code>. I can manipulate codes below like <code>ttk.Scrollbar</code> pattern. <code>tkinter.Spinbox</code> button gives an old look for my GUI that is why i want to <code>ttk.Spinbox</code>.</p>
  
  <p>Edit:
  I am using <code>Python 3.4</code> on Windows 7 OS. I need a themed Spinbox widget. <code>ttk.__init__</code> file has not Spinbox class/module. So, I open that file and wrote codes just like <code>Scrollbar</code> class given below.</p>
  
  <pre><code>class Scrollbar(Widget, tkinter.Scrollbar):
      """Ttk Scrollbar controls the viewport of a scrollable widget."""
  
      def __init__(self, master=None, **kw):
          """Construct a Ttk Scrollbar with parent master.
  
          STANDARD OPTIONS
  
              class, cursor, style, takefocus
  
          WIDGET-SPECIFIC OPTIONS
  
              command, orient
          """
          Widget.__init__(self, master, "ttk::scrollbar", kw)
  </code></pre>
  
  <p>And codes that I placed into <code>ttk.__init__.py</code> file. It inherits from <code>tkinter.Spinbox</code>.</p>
  
  <pre><code>class Spinbox(Widget, tkinter.Spinbox):
      """spinbox widget."""
      def __init__(self, master=None, **kw):
          Widget.__init__(self, master, "ttk::spinbox", kw)
  </code></pre>
  
  <p>The test result given below is satisfactory.But there is an indent before content of <code>Spinbox Widget</code></p>
  
  <p>tkinter.Spinbox Widget
  <img src="https://i.stack.imgur.com/jPer5.png" alt="tkinter.Spinbox Widget"></p>
  
  <p>ttk.Spinbox Widget
  <img src="https://i.stack.imgur.com/rj3CW.png" alt="ttk.Spinbox Widget"></p>
  
  <p>Is there something wrong? Why an indentation occurs?</p>
  
  <pre><code>import tkinter as tk
  import tkinter.ttk as ttk
  
  class Spinbox(ttk.Widget):
      def __init__(self, master, **kw):
          ttk.Widget.__init__(self, master, 'ttk::spinbox', kw)
  
  if __name__ == '__main__':
      root = tk.Tk()
      root.grid_columnconfigure(0, weight=1)
      opts = { 'from_': 5, 'to': 10, 'increment': 1 }
      sp1 = tk.Spinbox(root, from_=5, to=10)
      sp1.grid(row=0, column=0)
      sp2 = Spinbox(root, from_=5, to=10)
      sp2.grid(row=1, column=0,  columnspan=2, sticky="we",pady=2)
      root.mainloop()
  </code></pre>
  
  <p>If you expand root window the <code>ttk.Spinbox</code> spreads with it and an indentation occurs. I guess it is due to <code>columnconfigure</code> but i need configuration for better look.</p>