def METHOD_NAME(self, parent):
    self.component = self.create_component()
    size = self._get_initial_size()
    self.window = self.create_window(parent, size)
    self.control = self.window.control
    self._parent = parent