def METHOD_NAME(self, size=None):
    if size is None:
        size = [None, None]
    w = self.entry('main_window_width', size[0], default=800)
    h = self.entry('main_window_height', size[1], default=600)
    return w, h