If you are a traditional GUI programmer, the scope object is the ... import * from tkinter.ttk import * class Button1(Button): def __init__(self, parent,text='',command=None,width=1): Button.