class WinButton: pass # ... class WinTextBox: pass # ... Button = WinButton TextBox = WinTextBox