class Spinbox(ttk.Widget):

    def __init__(self, master, **kw):
        ttk.Widget.__init__(self, master, 'ttk::spinbox', kw)
if __name__ == '__main__':
    root = tk.Tk()
Create new ttk widget from tkinter