window = MyWindow() # Note: default ctor is used here. window.Enable(false) window.Create(parent, ... all the usual ctor arguments ...)